Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
retribute.me
api
Commits
9b84789b
Verified
Commit
9b84789b
authored
Jun 06, 2019
by
Eliot Berriot
Browse files
Added restart policy
parent
074fdd51
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
9b84789b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment