prod compose: faking hosts file

This commit is contained in:
2024-01-10 20:49:01 +01:00
parent ed758f843d
commit 170540fd8c
2 changed files with 8 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ services:
ports:
- ${PORT:-3001}:80
volumes:
- ./hosts:/etc/hosts
- ./etc/hosts:/etc/hosts
environment:
MONGODB_URI: mongodb://root:example@mongo:27017/
GOOGLE_ID: 355397364527-adjrokm6hromcaaar0qfhk050mfr35ou.apps.googleusercontent.com

7
etc/hosts Normal file
View File

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