add traefik tags

This commit is contained in:
whitney 2023-11-05 14:41:07 -08:00
parent 0683465910
commit 1a3be8b91e
2 changed files with 10 additions and 0 deletions

View File

@ -38,3 +38,7 @@ Some things that were weird:
- had to make sure to specify database container by the right name. Removed custom name and used just "database".
6. Handle Authentication like you'd do on Github with SSH keys etc.
Settings > SSH/GPG Keys > Manage SSH Keys

View File

@ -26,6 +26,12 @@ services:
ports:
- "3300:3000"
- "222:22"
labels:
- traefik.http.routers.gitea.rule=Host(`git.whitney.rip`)
- traefik.http.routers.gitea.tls=true
- traefik.http.routers.gitea.tls.certresolver=lets-encrypt
- traefik.http.services.gitea.loadbalancer.server.port=3300
- traefik.port=3300
database:
image: postgres:14