[image-service] updated ALLOWED_FOLDERS
This commit is contained in:
parent
88351993cf
commit
54ecb2ee8c
3 changed files with 35 additions and 8 deletions
|
|
@ -9,16 +9,31 @@ services:
|
|||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
volumes:
|
||||
- ~/repo/taobin_project:/taobin_project
|
||||
- shared-repo:/usr/src/app
|
||||
# - ~/repo/taobin_project:/taobin_project
|
||||
restart: always
|
||||
command: uvicorn main:app --host 0.0.0.0 --port 8125
|
||||
networks:
|
||||
- kong-net
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: nginx-image-container
|
||||
volumes:
|
||||
- ~/repo/taobin_project:/taobin_project
|
||||
- shared-repo:/usr/src/app
|
||||
# - ~/repo/taobin_project:/taobin_project
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
ports:
|
||||
- "8126:80"
|
||||
networks:
|
||||
- kong-net
|
||||
|
||||
networks:
|
||||
kong-net:
|
||||
external: true
|
||||
name: kong-api-gateway_kong-ee-net
|
||||
|
||||
volumes:
|
||||
shared-repo:
|
||||
external: true
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue