From 170540fd8c39a3cc3d1d45ec8a19126633485d56 Mon Sep 17 00:00:00 2001 From: knee-cola Date: Wed, 10 Jan 2024 20:49:01 +0100 Subject: [PATCH] prod compose: faking hosts file --- docker-compose-deploy.yml | 2 +- etc/hosts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 etc/hosts diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index 089f525..52a0188 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -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 diff --git a/etc/hosts b/etc/hosts new file mode 100644 index 0000000..0eb978f --- /dev/null +++ b/etc/hosts @@ -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