mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
change docker-compose so that port 8000 is only exposed between containers. Also fix nginx volume so that it uses the correct nginx.conf file
This commit is contained in:
parent
f55121f4f3
commit
014d22f47e
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue