open port
This commit is contained in:
parent
d3165d3a7a
commit
7b7bd159c6
4 changed files with 6 additions and 1 deletions
|
@ -53,4 +53,4 @@ async def redoc_html():
|
|||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("main:get_app", host='0.0.0.0', port=5000, reload=True)
|
||||
uvicorn.run("main:get_app", host='0.0.0.0', port=5000, reload=True)
|
|
@ -10,6 +10,8 @@ services:
|
|||
volumes:
|
||||
- logs:/usr/src/app/logs
|
||||
entrypoint: bash -c "/cmd.sh"
|
||||
ports:
|
||||
- ${APP_HTTP_PORT}:5000
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
|
|
@ -10,6 +10,7 @@ services:
|
|||
container_name: ${APP_NAME}
|
||||
ports:
|
||||
- "80:80"
|
||||
- "${APP_HTTP_PORT}:81"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- nginx_data:/data
|
||||
|
|
|
@ -9,6 +9,8 @@ services:
|
|||
volumes:
|
||||
- portainer:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- ${APP_HTTP_PORT}:9000
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue