don't use 80 and 443 ports in both nginx and app

This commit is contained in:
2019-10-31 23:56:28 +01:00
parent edb958c24c
commit ce7891f2c2
2 changed files with 6 additions and 4 deletions

View File

@@ -30,10 +30,9 @@ services:
- ./.env.prod
volumes:
- ./:/personal_api/
command: gunicorn -w 4 -k uvicorn.workers.UvicornWorker personal_api.main:app -b 0.0.0.0
ports:
- "80:80"
- "443:443"
command: gunicorn -w 4 -k uvicorn.workers.UvicornWorker personal_api.main:app -b 0.0.0.0:8001
expose:
- 8001
networks:
my-network:
aliases: