gitea, move ports to env file.
This commit is contained in:
1 parent
4d4730bb52
commit
c80f5b55ce
2 files changed
+7
-2
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user