[firefly] Change from using webproxy to binding port to localhost

This enables authentication with teleport
This commit is contained in:
JuliusFreudenberger 2023-09-03 21:28:30 +02:00
parent bca31404ee
commit 9c77acd2cf

View file

@ -11,16 +11,14 @@ services:
- APP_KEY=${APP_KEY:-SomeRandomStringOf32CharsExactly} - APP_KEY=${APP_KEY:-SomeRandomStringOf32CharsExactly}
- MAIL_PASSWORD=${MAIL_PASSWORD:-null} - MAIL_PASSWORD=${MAIL_PASSWORD:-null}
- STATIC_CRON_TOKEN=${STATIC_CRON_TOKEN:-SomeRandomStringOf32CharsExactly} - STATIC_CRON_TOKEN=${STATIC_CRON_TOKEN:-SomeRandomStringOf32CharsExactly}
- VIRTUAL_HOST=firefly.jfreudenberger.de # the domain where the service should be reached
- VIRTUAL_PORT=8080 # the port the service listens in the container
- LETSENCRYPT_HOST=firefly.jfreudenberger.de # the same domain as VIRTUAL_HOST; this enables ssl
depends_on: depends_on:
- db - db
networks: networks:
- firefly - firefly
- db - db
- webproxy
- smtp_relay - smtp_relay
ports:
- 127.0.0.1:8081:8080
db: db:
image: postgres:${postgres_version:-14} image: postgres:${postgres_version:-14}
@ -59,9 +57,6 @@ volumes:
networks: networks:
firefly: firefly:
db: db:
webproxy:
external:
name: webproxy
smtp_relay: smtp_relay:
external: external:
name: smtp_relay name: smtp_relay