fix docker compose services not coming up after reboot
All checks were successful
/ Ansible Lint (push) Successful in 2m18s
All checks were successful
/ Ansible Lint (push) Successful in 2m18s
Fix the issue by adding missing restart configuration to docker compose deployments.
This commit is contained in:
parent
7a9929c66d
commit
8e5b0083b3
4 changed files with 7 additions and 1 deletions
|
|
@ -20,3 +20,4 @@ services:
|
|||
volumes:
|
||||
- ./configs/acmedns.cfg:/etc/acme-dns/config.cfg:ro
|
||||
- ./data/acmedns:/var/lib/acme-dns
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ services:
|
|||
- "SMTP_USERNAME=pad@hamburg.ccc.de"
|
||||
- "SMTP_PASSWORD={{ secret__pad_smtp_password }}"
|
||||
- "URL=https://pad.hamburg.ccc.de"
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- database
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ services:
|
|||
timeout: 5s
|
||||
start_period: 30s
|
||||
retries: 5
|
||||
restart: unless-stopped
|
||||
|
||||
web:
|
||||
image: git.hamburg.ccc.de/ccchh/sunders/web:latest
|
||||
|
|
@ -33,6 +34,7 @@ services:
|
|||
IMPRESSUM_URL: https://hamburg.ccc.de/imprint/
|
||||
ports:
|
||||
- "8080:80"
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
data_handler:
|
||||
condition: service_started
|
||||
|
|
@ -48,6 +50,7 @@ services:
|
|||
CAMERA_USER_PASSWORD: "{{ secret__sunders_db_camera_password }}"
|
||||
CAMERA_SELECT_USER: camera_select
|
||||
CAMERA_SELECT_USER_PASSWORD: "{{ secret__sunders_db_camera_select_password }}"
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
services:
|
||||
database:
|
||||
image: docker.io/library/postgres:18.3
|
||||
restart: always
|
||||
volumes:
|
||||
- ./database:/var/lib/postgresql
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue