grist, authentik, nextcloud: change nginx to caddy

This commit is contained in:
Daniel Meiburg 2024-04-17 20:47:57 +02:00
parent a77ba54fc3
commit b3fd40b359
Signed by: dm
GPG Key ID: E5827ECFFE0AA4F2
3 changed files with 12 additions and 14 deletions

View File

@ -86,4 +86,4 @@ volumes:
networks:
default:
name: caddy
external: true
external

View File

@ -8,9 +8,6 @@ services:
- grist:/persist
- certs:/certs
environment:
VIRTUAL_HOST: grist.dmeiburg.de
LETSENCRYPT_EMAIL: ${EMAIL}
LETSENCRYPT_HOST: grist.dmeiburg.de
APP_HOME_URL: https://grist.dmeiburg.de
GRIST_SESSION_SECRET: ${SECRET}
GRIST_SANDBOX_FLAVOR: gvisor
@ -18,12 +15,14 @@ services:
GRIST_OIDC_IDP_ISSUER: https://sso.dmeiburg.de/application/o/grist/.well-known/openid-configuration
GRIST_OIDC_IDP_CLIENT_ID: ${OIDC_ID}
GRIST_OIDC_IDP_CLIENT_SECRET: ${OIDC_SECRET}
expose:
- 8484
labels:
caddy: cloud.dmeiburg.de
caddy.reverse_proxy: "{{upstreams 8484}}"
networks:
default:
name: nginx-proxy
external: true
name: caddy
external
volumes:
grist:

View File

@ -15,8 +15,6 @@ services:
app:
image: nextcloud
expose:
- 80
links:
- db
volumes:
@ -24,14 +22,15 @@ services:
hostname: cloud.dmeiburg.de
restart: always
environment:
VIRTUAL_HOST: cloud.dmeiburg.de
LETSENCRYPT_HOST: cloud.dmeiburg.de
OVERWRITEPROTOCOL: https
POSTGRES_HOST: db
env_file:
- .env
labels:
caddy: cloud.dmeiburg.de
caddy.reverse_proxy: "{{upstreams 80}}"
networks:
default:
name: nginx-proxy
external: true
name: caddy
external