build(docker): add Docker Compose configuration

This commit is contained in:
gameloader
2025-11-10 22:18:54 +08:00
parent 2165fbe5ec
commit 3c80510e9c

20
docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
version: "3.8"
services:
autoteacher:
image: autoteacher-next:latest
container_name: autoteacher-next
restart: unless-stopped
depends_on:
- rustfs
ports:
- "3010:3000"
volumes:
- ./.env.local:/app/.env.local:ro
rustfs:
image: rustfs/rustfs:latest
container_name: rustfs
restart: unless-stopped
volumes:
- ./data:/data