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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue