Files
autoteacher/docker-compose.yml

27 lines
644 B
YAML

version: "3.8"
services:
autoteacher:
build:
context: .
dockerfile: Dockerfile
args:
DATABASE_URL: ${DATABASE_URL:-postgresql://postgres:postgres@host.docker.internal:5432/postgres}
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY:-}
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