diff --git a/docker-compose.yml b/docker-compose.yml index 0277b6270..06d60b7dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,8 +26,8 @@ services: nofile: soft: 10000 hard: 10000 - ports: - - '8000:8000' + expose: + - '8000' # only use gunicorn if the TEST env variable is not "True" command: bash -c 'if [[ -z "${TEST}" && "${TEST}" = "True" ]] ; then echo "starting test env"; else gunicorn --bind :8000 newsblur_web.wsgi:application; fi' volumes: @@ -50,7 +50,7 @@ services: environment: - DOCKERBUILD=True volumes: - - ./docker/nginx:/etc/nginx/conf.d + - ./docker/nginx/nginx.local.conf:/etc/nginx/conf.d/nginx.conf - app-files:/srv/newsblur postgres: