Moved to a new container... hopefully we have the same results

This commit is contained in:
2023-08-07 22:33:38 +01:00
parent dfadd63ea5
commit 1ee167aad3
2 changed files with 12 additions and 39 deletions

View File

@ -1,8 +1,7 @@
version: '3.8'
services:
#gitea (222)
#gitea (222)
gitea:
image: gitea/gitea:latest
container_name: gitea
@ -10,6 +9,8 @@ services:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
- proxy
ports:
- "222:22"
environment:
@ -28,7 +29,12 @@ services:
labels:
## Expose Gitea Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
- "traefik.http.routers.gitea.rule=Host(`test.luke-else.co.uk`)"
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
restart: unless-stopped
restart: unless-stopped
networks:
proxy:
external: true