add alias
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
|
depends_on: app
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
@@ -28,3 +29,7 @@ services:
|
|||||||
command: gunicorn -w 4 -k uvicorn.workers.UvicornWorker personal_api.main:app -b 0.0.0.0
|
command: gunicorn -w 4 -k uvicorn.workers.UvicornWorker personal_api.main:app -b 0.0.0.0
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
networks:
|
||||||
|
my-network:
|
||||||
|
aliases:
|
||||||
|
- personal-api
|
||||||
|
|||||||
Reference in New Issue
Block a user