services:
  app:
    build:
      context: .
    image: exam-information-system:local
    init: true
    restart: unless-stopped
    env_file:
      - .env.docker
    environment:
      ASPNETCORE_ENVIRONMENT: Production
      ASPNETCORE_URLS: http://0.0.0.0:4173
      DATABASE_CLIENT: sqlite
      SQLITE_PATH: /app/data/exam.sqlite
    ports:
      - "4173:4173"
    volumes:
      - exam-information-data:/app/data

volumes:
  exam-information-data:
