gitea, move ports to env file.

This commit is contained in:
me committed 2026-11-07 14:08:20 -07:00
1 parent 4d4730bb52
commit c80f5b55ce
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -17,8 +17,8 @@ services:
image: gitea/gitea:latest image: gitea/gitea:latest
restart: always restart: always
ports: ports:
- "3001:3000" - "$GITEA_WEB_PORT:3000"
- "2201:22" - "$GITEA_SSH_PORT:22"
volumes: volumes:
- ../../Volumes/Gitea/gitea:/data - ../../Volumes/Gitea/gitea:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
+5
View File
@@ -4,6 +4,11 @@
COMPOSE_BAKE=true COMPOSE_BAKE=true
## Gitea ##
GITEA_WEB_PORT=3001
GITEA_SSH_PORT=2201
## Performance ## ## Performance ##
# Micro Server # Micro Server