forked from Pasta-Devs/Marinara-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (25 loc) · 1.19 KB
/
Copy pathdocker-compose.yml
File metadata and controls
26 lines (25 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# ──────────────────────────────────────────────
# Marinara Engine — Docker Compose
# ──────────────────────────────────────────────
services:
marinara:
# Use the pre-built image from GHCR
image: ghcr.io/pasta-devs/marinara-engine:latest
init: true
ports:
- "127.0.0.1:${PORT:-7860}:7860"
volumes:
- marinara-data:/app/data
environment:
- NODE_ENV=production
- DATA_DIR=/app/data
- FILE_STORAGE_DIR=/app/data/storage
- MARINARA_DOCKER=true
- AUTO_CREATE_DEFAULT_CONNECTION=${AUTO_CREATE_DEFAULT_CONNECTION:-true}
# Set BASIC_AUTH_USER/BASIC_AUTH_PASS and ADMIN_SECRET before exposing beyond localhost.
# - TZ=America/New_York # IANA timezone for time-based features (e.g. character schedules)
# - ENCRYPTION_KEY= # AES key for API key encryption (generate: openssl rand -hex 32)
# - LOG_LEVEL=debug # Set to "debug" to log full prompts & responses
restart: unless-stopped
volumes:
marinara-data: