running publically
This commit is contained in:
@@ -23,9 +23,12 @@ services:
|
||||
# SSH Configuration
|
||||
- GITEA__server__DOMAIN=bee8333.ddns.net
|
||||
- GITEA__server__SSH_DOMAIN=bee8333.ddns.net
|
||||
- GITEA__server__ROOT_URL=http://bee8333.ddns.net:3000/
|
||||
- GITEA__server__ROOT_URL=https://bee8333.ddns.net/
|
||||
- GITEA__server__SSH_PORT=222
|
||||
- GITEA__server__SSH_LISTEN_PORT=22
|
||||
- GITEA__server__PROTOCOL=https
|
||||
- GITEA__server__CERT_FILE=/data/gitea/cert.pem
|
||||
- GITEA__server__KEY_FILE=/data/gitea/key.pem
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
@@ -33,6 +36,8 @@ services:
|
||||
- gitea-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./gitea/ssl/cert.pem:/data/gitea/cert.pem:ro
|
||||
- ./gitea/ssl/key.pem:/data/gitea/key.pem:ro
|
||||
ports:
|
||||
- "3000:3000" # Web UI: Host port 3000 -> Container port 3000
|
||||
- "222:22" # SSH: Host port 222 -> Container port 22
|
||||
|
||||
Reference in New Issue
Block a user