Bump hackmd version, migrate to docker compose v2 ansible module

This commit is contained in:
Paul Brinkmeier 2024-07-02 18:33:41 +02:00
parent e2a4506f94
commit 0aeebb5d98
4 changed files with 12 additions and 14 deletions

View File

@ -109,11 +109,11 @@
# that Gitea is reachable before those configurations are deployed. # that Gitea is reachable before those configurations are deployed.
- name: Set up caddy and gitea containers - name: Set up caddy and gitea containers
become: true become: true
community.docker.docker_compose: community.docker.docker_compose_v2:
project_src: "/etc/pbri/docker/{{ item.name }}" project_src: "/etc/pbri/docker/{{ item.name }}"
state: "{{ item.state }}" state: "{{ item.state }}"
build: true build: "always"
debug: true pull: "always"
loop: loop:
- name: caddy - name: caddy
state: present state: present
@ -132,12 +132,11 @@
delay: 5 # Retry every 5 seconds delay: 5 # Retry every 5 seconds
- name: Set up other containers - name: Set up other containers
become: true become: true
community.docker.docker_compose: community.docker.docker_compose_v2:
project_src: "/etc/pbri/docker/{{ item.name }}" project_src: "/etc/pbri/docker/{{ item.name }}"
state: "{{ item.state }}" state: "{{ item.state }}"
build: true build: "always"
pull: true pull: "always"
debug: true
loop: loop:
- name: drone - name: drone
state: present state: present
@ -147,11 +146,11 @@
state: present state: present
- name: utoy - name: utoy
state: present state: present
- name: score
state: present
# Keep these to ensure they're down # Keep these to ensure they're down
- name: factorio - name: factorio
state: absent state: absent
- name: glebby - name: glebby
state: absent state: absent
- name: score
state: absent

View File

@ -44,7 +44,3 @@ plantuml.pbrinkmeier.de {
utoy.beany.club { utoy.beany.club {
reverse_proxy utoy:3000 reverse_proxy utoy:3000
} }
score.brocke.net {
reverse_proxy score:8080
}

View File

@ -2,7 +2,7 @@ version: "3"
services: services:
codi: codi:
image: hackmdio/hackmd:2.4.2 image: hackmdio/hackmd:2.5.4
user: hackmd user: hackmd
environment: environment:
# Admin stuff # Admin stuff

View File

@ -0,0 +1,3 @@
# score
Seems to not be maintained anymore.