mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
Added restart policy to docker compose files.
This commit is contained in:
@@ -20,6 +20,11 @@ services:
|
||||
- '3306'
|
||||
ports:
|
||||
- '3306:3306'
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
window: 120s
|
||||
|
||||
mongo:
|
||||
build: ./docker/mongo
|
||||
@@ -29,6 +34,11 @@ services:
|
||||
- mongo:/var/lib/mongodb
|
||||
ports:
|
||||
- '27017:27017'
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
window: 120s
|
||||
|
||||
redis:
|
||||
build:
|
||||
@@ -37,6 +47,11 @@ services:
|
||||
- "6379"
|
||||
volumes:
|
||||
- redis:/data
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
window: 120s
|
||||
|
||||
# Volumes
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user