mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Add restart policy
This commit is contained in:
parent
78ac2250e1
commit
d3545d93a5
@ -15,6 +15,7 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
env_file: .env
|
env_file: .env
|
||||||
image: nopaque/web
|
image: nopaque/web
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- "./logs:/home/nopaque/logs"
|
- "./logs:/home/nopaque/logs"
|
||||||
- "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}"
|
- "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}"
|
||||||
@ -30,6 +31,7 @@ services:
|
|||||||
- web
|
- web
|
||||||
env_file: .env
|
env_file: .env
|
||||||
image: nopaque/daemon
|
image: nopaque/daemon
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
- "./logs:/home/nopaqued/logs"
|
- "./logs:/home/nopaqued/logs"
|
||||||
@ -37,9 +39,11 @@ services:
|
|||||||
db:
|
db:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
image: postgres:11
|
image: postgres:11
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- "/srv/nopaque/db:/var/lib/postgresql/data"
|
- "/srv/nopaque/db:/var/lib/postgresql/data"
|
||||||
redis:
|
redis:
|
||||||
image: redis:6
|
image: redis:6
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- "redis-trash1:/data"
|
- "redis-trash1:/data"
|
||||||
|
Loading…
Reference in New Issue
Block a user