services: offlineacademy: build: context: . dockerfile: Dockerfile container_name: offlineacademy restart: unless-stopped ports: - "6767:6767" env_file: - .env environment: NODE_ENV: production PORT: 6767 HOSTNAME: 0.0.0.0 DATABASE_URL: file:./dev.db COURSES_ROOT: ./My_Courses NEXT_PUBLIC_APP_URL: http://localhost:6767 volumes: # Put your course folders wherever you want on the host, # then map that folder to /app/My_Courses inside the container. - ./My_Courses:/app/My_Courses # Persist the SQLite database outside the image. - ./prisma/dev.db:/app/prisma/dev.db