add alias

This commit is contained in:
2019-10-31 23:17:42 +01:00
parent 1f72f9ece7
commit 858c9ff736

View File

@@ -3,6 +3,7 @@ services:
nginx:
container_name: nginx
image: nginx:latest
depends_on: app
ports:
- "80:80"
- "443:443"
@@ -28,3 +29,7 @@ services:
command: gunicorn -w 4 -k uvicorn.workers.UvicornWorker personal_api.main:app -b 0.0.0.0
ports:
- "8000:8000"
networks:
my-network:
aliases:
- personal-api