services: offlineacademy: image: nicetry247/offlineacademy:latest container_name: offlineacademy restart: unless-stopped ports: # Host:Container - "6969:6767" env_file: - .env environment: NODE_ENV: production PORT: 6767 HOSTNAME: 0.0.0.0 DATABASE_URL: file:/app/prisma/data/dev.db COURSES_ROOT: /app/My_Courses NEXT_PUBLIC_APP_URL: http://localhost:6969 volumes: # Course folders stay on the host and are mounted into the container. - ./My_Courses:/app/My_Courses # Directory-based database persistence. The container creates dev.db inside this folder. - ./prisma_data:/app/prisma/data