This commit is contained in:
丹尼尔
2026-03-12 22:10:01 +08:00
parent ad96272ab6
commit a609f81a36
5 changed files with 85 additions and 2 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
services:
backend:
build:
context: .
dockerfile: Dockerfile.backend
container_name: ops-core-backend
env_file:
- .env
volumes:
- ./data:/app/data
ports:
- "8000:8000"
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: ops-core-frontend
ports:
- "3000:3000"
depends_on:
- backend