compose-file: added hosts file hack

This commit is contained in:
2024-01-15 14:20:46 +01:00
parent d9e611ffc0
commit 1a5b1cf644
2 changed files with 4 additions and 2 deletions

View File

@@ -10,12 +10,14 @@ services:
image: utility-bills-tracker:1.0.2
networks:
- traefik-network # komunikacija sa Traefikom
volumes:
- ./etc/hosts/:/etc/hosts
environment:
MONGODB_URI: mongodb://root:example@mongo:27017/
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com
GOOGLE_SECRET: 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
AUTH_SECRET: Gh0jQ35oq6DR8HkLR3heA8EaEDtxYN/xkP6blvukZ0w=
# HOSTNAME: rezije.localhost # IP address at which the server will be listening (0.0.0.0 = listen on all addresses)
HOSTNAME: rezije.app # IP address at which the server will be listening (0.0.0.0 = listen on all addresses)
EXTAUTH_URL: ${HOSTNAME:-https://rezije.app} # URL next-auth will use while redirecting user during authentication (if not set - will use HOSTNAME)
PORT: ${PORT:-3000}
deploy:

View File

@@ -4,4 +4,4 @@ fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
0.0.0.0 rezije.app
127.0.0.1 rezije.app