2026-04-02 12:53:23 +07:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
app:
|
|
|
|
|
build: .
|
|
|
|
|
container_name: taobin-sheet-container
|
|
|
|
|
ports:
|
|
|
|
|
- "8124:8124"
|
|
|
|
|
environment:
|
|
|
|
|
- PYTHONUNBUFFERED=1
|
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
# volumes:
|
|
|
|
|
# - ./tsv_data:/app/tsv_data
|
|
|
|
|
restart: always
|
|
|
|
|
command: uvicorn main:app --host 0.0.0.0 --port 8124
|
2026-04-22 17:47:54 +07:00
|
|
|
networks:
|
|
|
|
|
- kong-api-gateway_kong-ee-ne
|
2026-04-02 12:53:23 +07:00
|
|
|
|
|
|
|
|
nginx:
|
|
|
|
|
image: nginx:latest
|
|
|
|
|
container_name: nginx-image-container
|
|
|
|
|
volumes:
|
|
|
|
|
- ~/repo/taobin_project:/taobin_project
|
|
|
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
|
|
|
|
ports:
|
2026-04-22 17:47:54 +07:00
|
|
|
- "8080:80"
|
|
|
|
|
networks:
|
|
|
|
|
- kong-api-gateway_kong-ee-ne
|