diff --git a/gitea/README.md b/gitea/README.md index 02254aa..ae71515 100644 --- a/gitea/README.md +++ b/gitea/README.md @@ -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 + diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index 2281cf4..a529443 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -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