Files
asset_helper/deploy/docker-compose.yml
fish 9b08ae17fc
Some checks failed
CI/CD Pipeline / build (push) Has been cancelled
CI/CD Pipeline / deploy (push) Has been cancelled
添加项目基础结构和配置文件
2026-03-26 20:49:14 +08:00

25 lines
384 B
YAML

version: '3.8'
services:
app:
build:
context: ..
dockerfile: deploy/docker/Dockerfile
ports:
- "8000:8000"
env_file:
- .env
volumes:
- ..:/app
depends_on:
- nginx
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ..:/app
restart: always