Verified Commit 9b84789b authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Added restart policy

parent 074fdd51
......@@ -4,6 +4,7 @@ services:
postgres:
env_file:
- .env
restart: ${RESTART_POLICY-on-failure}
image: postgres:${POSTGRES_VERSION-11.3}
command: postgres -c log_min_duration_statement=0
volumes:
......@@ -11,6 +12,7 @@ services:
ports:
- "127.0.0.1:5432:5432"
redis:
restart: ${RESTART_POLICY-on-failure}
env_file:
- .env
image: redis:latest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment