mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 09:08:24 +00:00
Add restart policy to docker compose
This commit is contained in:
parent
c1a0633a12
commit
19615a2c37
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue