fixed network bugs

This commit is contained in:
Andreas Knuth 2025-02-09 12:02:35 -06:00
parent 8c5cfee354
commit 1077a98502
3 changed files with 10 additions and 4 deletions

View File

@ -12,7 +12,7 @@ www.bizmatch.net {
}
}
auth.bizmatch.net {
reverse_proxy postgres_keycloak:8080 {
reverse_proxy keycloak:8080 {
header_up Host {http.request.host}
header_up X-Real-IP {http.request.remote}
header_up X-Forwarded-For {http.request.remote}

View File

@ -11,6 +11,8 @@ services:
- 'host.docker.internal:host-gateway'
networks:
- bizmatch
- keycloak
- gitea
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
@ -25,6 +27,10 @@ services:
networks:
bizmatch:
external: true
keycloak:
external: true
gitea:
external: true
volumes:
caddy_data:

View File

@ -16,7 +16,7 @@ services:
- GITEA__server__HTTP_PORT=3500
restart: unless-stopped
networks:
- bizmatch
- gitea
volumes:
- gitea-data:/data
#- ./gitea/gitea-ssh:/data/git/.ssh
@ -34,12 +34,12 @@ services:
- POSTGRES_DB=gitea
restart: unless-stopped
networks:
- bizmatch
- gitea
volumes:
- gitea-db:/var/lib/postgresql/data
networks:
bizmatch:
gitea:
external: true
volumes: