From 690a72c2df3b632f6ed707fcfe4e6096aed47dbc Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 21 May 2022 12:41:37 +0700 Subject: [PATCH] move VIRTUAL_PORT to env_file --- docker-compose_production.yml | 1 - env/gitea.sample.env | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose_production.yml b/docker-compose_production.yml index b89bbcb..74f3887 100644 --- a/docker-compose_production.yml +++ b/docker-compose_production.yml @@ -116,7 +116,6 @@ services: environment: - VIRTUAL_HOST=git.tubearchivist.com,www.git.tubearchivist.com - LETSENCRYPT_HOST=git.tubearchivist.com,www.git.tubearchivist.com - - VIRTUAL_PORT=3000 restart: always volumes: - ./volume/gitea/data:/data diff --git a/env/gitea.sample.env b/env/gitea.sample.env index dbc03d7..6689a96 100644 --- a/env/gitea.sample.env +++ b/env/gitea.sample.env @@ -1,5 +1,6 @@ USER_UID=1000 USER_GID=1000 +VIRTUAL_PORT=3000 DB_TYPE=postgres DB_HOST=gitea-db:5432 DB_NAME=gitea