restart policies in docker-compose is not the best idea
This commit is contained in:
parent
21b300226e
commit
64ceb8491c
@ -4,7 +4,6 @@ version: '2'
|
|||||||
services:
|
services:
|
||||||
base:
|
base:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
environment:
|
||||||
# Run `docker-compose run web config generate-secret-key`
|
# Run `docker-compose run web config generate-secret-key`
|
||||||
# to get the SENTRY_SECRET_KEY value.
|
# to get the SENTRY_SECRET_KEY value.
|
||||||
@ -17,15 +16,12 @@ services:
|
|||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
image: memcached:1.4
|
image: memcached:1.4
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:3.0-alpine
|
image: redis:3.0-alpine
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:9.5
|
image: postgres:9.5
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
web:
|
web:
|
||||||
extends: base
|
extends: base
|
||||||
|
Reference in New Issue
Block a user