mirror of
https://github.com/nicetry247/offlineacademy.git
synced 2026-07-26 11:58:44 +00:00
24 lines
696 B
YAML
24 lines
696 B
YAML
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
|