diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-25 13:21:48 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-25 13:21:48 +0200 |
commit | 19615a2c3732b8a96fb9007a1d50ec553cdf43ed (patch) | |
tree | e12ec4da3cc74305851d7794553289769d141ebb | |
parent | c1a0633a1215987c9ec4c2c35e1ce137a0c11b95 (diff) |
Add restart policy to docker compose
-rw-r--r-- | docker-compose.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 59e0e5496..9f9126805 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,18 @@ version: '2' services: db: + restart: always image: postgres redis: + restart: always image: redis neo4j: + restart: always build: context: . dockerfile: Dockerfile.neo4j web: + restart: always build: context: . dockerfile: Dockerfile.app @@ -24,6 +28,7 @@ services: - ./public/assets:/mastodon/public/assets - ./public/system:/mastodon/public/system sidekiq: + restart: always build: context: . dockerfile: Dockerfile.app |