From d2c4a740569b05b2e2db1e981091d06718498321 Mon Sep 17 00:00:00 2001 From: JigSaw Date: Sun, 21 Jan 2024 17:07:12 +0100 Subject: [PATCH] fix(2fauth): blank page, added env. vars (#2254) close #2243 --- apps/2fauth/config.json | 4 +++- apps/2fauth/docker-compose.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/2fauth/config.json b/apps/2fauth/config.json index 6976b28d..c0c54e09 100644 --- a/apps/2fauth/config.json +++ b/apps/2fauth/config.json @@ -2,10 +2,12 @@ "$schema": "../schema.json", "name": "2FAuth", "port": 8235, + "uid": 1000, + "gid": 1000, "available": true, "exposable": true, "id": "2fauth", - "tipi_version": 11, + "tipi_version": 12, "version": "5.0.3", "categories": [ "security" diff --git a/apps/2fauth/docker-compose.yml b/apps/2fauth/docker-compose.yml index 8b3389a3..2812c1b4 100644 --- a/apps/2fauth/docker-compose.yml +++ b/apps/2fauth/docker-compose.yml @@ -1,4 +1,3 @@ -version: "3.7" services: 2fauth: image: 2fauth/2fauth:5.0.3 @@ -7,6 +6,9 @@ services: - ${APP_DATA_DIR}/data:/2fauth ports: - ${APP_PORT}:8000 + environment: + - ASSET_URL=https://${APP_DOMAIN} + - APP_URL=https://${APP_DOMAIN} networks: - tipi_main_network labels: