From 69602dfae09b5151d7f7cf33eaa5d519a780f8ff Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Wed, 15 Dec 2021 09:07:02 +0100 Subject: [PATCH] chore: new version, fix proxy, remove label --- compose.yml | 8 ++++---- nginx.conf.tmpl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compose.yml b/compose.yml index 8ddf821..5cb9602 100644 --- a/compose.yml +++ b/compose.yml @@ -5,6 +5,7 @@ services: web: image: "nginx:1.21.4" environment: + - STACK_NAME - DOMAIN=${DOMAIN} configs: - source: nginx_conf @@ -23,7 +24,9 @@ services: - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" app: - image: "collabora/code:6.4.9.3" + image: "collabora/code:21.11.0.5.1" + cap_add: + - MKNOD configs: - source: loolwsd_xml target: /etc/loolwsd/loolwsd.xml @@ -34,9 +37,6 @@ services: - NEXTCLOUD_DOMAIN=${NEXTCLOUD_DOMAIN} networks: - internal - deploy: - labels: - - "coop-cloud.${STACK_NAME}.version=1.0.0+6.4.9.3" networks: proxy: diff --git a/nginx.conf.tmpl b/nginx.conf.tmpl index f456a70..0a5d3f5 100644 --- a/nginx.conf.tmpl +++ b/nginx.conf.tmpl @@ -6,7 +6,7 @@ events { http { upstream collabora-upstream { - server app:9980; + server {{ env "STACK_NAME" }}_app:9980; } server {