[elementweb] ensure both containers are restarted by default
This commit is contained in:
parent
78f67b9a83
commit
5319fbfe56
1 changed files with 2 additions and 1 deletions
|
@ -2,11 +2,11 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
elementweb:
|
elementweb:
|
||||||
image: vectorim/element-web:${ELEMENT_VERSION}
|
image: vectorim/element-web:${ELEMENT_VERSION}
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.json:/app/config.json
|
- ./config.json:/app/config.json
|
||||||
ports:
|
ports:
|
||||||
- "8008:80/tcp"
|
- "8008:80/tcp"
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:${NGINX_VERSION}
|
image: nginx:${NGINX_VERSION}
|
||||||
|
@ -18,3 +18,4 @@ services:
|
||||||
- /ssl:/ssl
|
- /ssl:/ssl
|
||||||
- /www:/www
|
- /www:/www
|
||||||
- /mnt/logs/nginx:/var/log/nginx/
|
- /mnt/logs/nginx:/var/log/nginx/
|
||||||
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue