[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: 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