taobin-sheet
This commit is contained in:
commit
be1cd2876a
5 changed files with 545 additions and 0 deletions
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: nginx-image-container
|
||||
volumes:
|
||||
- ~/repo/taobin_project:/taobin_project
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
ports:
|
||||
- "8080:80"
|
||||
Loading…
Add table
Add a link
Reference in a new issue