From 2337301756de8d793c75ff6d85988ea577cd1395 Mon Sep 17 00:00:00 2001 From: thopic Date: Wed, 21 Jul 2021 17:58:15 +0200 Subject: [PATCH] [NC] Secure access to OnlyOffice server --- nextcloud/docker-compose.yml | 3 +++ nextcloud/secrets/oo.secrets.example | 1 + 2 files changed, 4 insertions(+) create mode 100644 nextcloud/secrets/oo.secrets.example diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml index c050884..61a806f 100644 --- a/nextcloud/docker-compose.yml +++ b/nextcloud/docker-compose.yml @@ -6,6 +6,9 @@ services: networks: - proxy restart: unless-stopped + env_file: secrets/oo.secrets + environment: + - JWT_ENABLED=true labels: - "traefik.enable=true" - "traefik.http.middlewares.ds-redirect-websecure.redirectscheme.scheme=https" diff --git a/nextcloud/secrets/oo.secrets.example b/nextcloud/secrets/oo.secrets.example new file mode 100644 index 0000000..211acef --- /dev/null +++ b/nextcloud/secrets/oo.secrets.example @@ -0,0 +1 @@ +JWT_SECRET=