mirror of
https://github.com/nicetry247/offlineacademy.git
synced 2026-08-13 12:26:54 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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
|
||||
Reference in New Issue
Block a user