move VIRTUAL_PORT to env_file

This commit is contained in:
simon 2022-05-21 12:41:37 +07:00
parent b6db36265d
commit 690a72c2df
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -1,5 +1,6 @@
USER_UID=1000
USER_GID=1000
VIRTUAL_PORT=3000
DB_TYPE=postgres
DB_HOST=gitea-db:5432
DB_NAME=gitea