added gitea
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
|
||||
networks:
|
||||
|
||||
gitea:
|
||||
external: false
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
services:
|
||||
server:
|
||||
@@ -13,11 +15,19 @@ services:
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
- proxy
|
||||
volumes:
|
||||
- ./data/:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "222:22"
|
||||
- "22:22"
|
||||
labels:
|
||||
- ""
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.gitea.rule=Host(`git.riverrooks.dev`)"
|
||||
- "traefik.http.routers.gitea.entrypoints=websecure"
|
||||
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
|
||||
# Explicitly tell Traefik to send the web traffic to internal port 3000
|
||||
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
|
||||
# Tell Traefik to exclusively use the 'proxy' network to route traffic
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
Reference in New Issue
Block a user