build(docker): add Docker Compose configuration
This commit is contained in:
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user