From 5319fbfe569b1815188a4401d4954feab57d2f38 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 22 Feb 2024 19:45:32 +0900 Subject: [PATCH] [elementweb] ensure both containers are restarted by default --- ansible/roles/elementweb/files/basedir/docker-compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/elementweb/files/basedir/docker-compose.yaml b/ansible/roles/elementweb/files/basedir/docker-compose.yaml index 32ad3ca..117ae61 100644 --- a/ansible/roles/elementweb/files/basedir/docker-compose.yaml +++ b/ansible/roles/elementweb/files/basedir/docker-compose.yaml @@ -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