[elementweb] ensure both containers are restarted by default

This commit is contained in:
Nico Schottelius 2024-02-22 19:45:32 +09:00
parent 78f67b9a83
commit 5319fbfe56

View file

@ -2,11 +2,11 @@ version: '3'
services:
elementweb:
image: vectorim/element-web:${ELEMENT_VERSION}
restart: unless-stopped
volumes:
- ./config.json:/app/config.json
ports:
- "8008:80/tcp"
restart: unless-stopped
nginx:
image: nginx:${NGINX_VERSION}
@ -18,3 +18,4 @@ services:
- /ssl:/ssl
- /www:/www
- /mnt/logs/nginx:/var/log/nginx/
restart: unless-stopped