Skip to content
Snippets Groups Projects
Commit e52507f3 authored by vmaubert's avatar vmaubert
Browse files

chore(docker): redémarre automatique la base de données et le CRON après un crash

parent d89f7031
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ services:
networks:
- default
- nginx-proxy
restart: always
restart: unless-stopped
cron:
container_name: camino_api_cron
image: caminofr/camino-api
......@@ -35,6 +35,7 @@ services:
- ./.env:/app/.env
networks:
- default
restart: unless-stopped
db:
container_name: camino_api_db
image: postgres:12
......@@ -49,6 +50,7 @@ services:
- default
volumes:
- data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
data: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment