Skip to content
Snippets Groups Projects
Commit 140bbc0d authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Add archiver IP to docker-compose file

nginx doesn't start if it fails to resolve a hostname defined as
proxy_pass.
Adding the archiver to the hosts allow to start the server
outside ESS where the archiver is not resolved.
This is for local testing. The archiver won't be accessible without VPN.
parent 3f38819f
No related branches found
No related tags found
No related merge requests found
Pipeline #15934 passed
......@@ -15,6 +15,8 @@ services:
volumes:
- ./PythonServer:/app
- python-data:/var/www/data
extra_hosts:
- "archiver-01.tn.esss.lu.se:172.16.225.16"
web:
image: registry.esss.lu.se/ics-software/ess-public-screens/nginx:master
build:
......@@ -25,6 +27,8 @@ services:
- python-data:/usr/share/nginx/data:ro
depends_on:
- python_server
extra_hosts:
- "archiver-01.tn.esss.lu.se:172.16.225.16"
ports:
- "8000:8000"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment