-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 1009 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 1009 Bytes
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
27
28
29
30
31
32
version: '3.8'
# Use this version for Unraid with bind mount to appdata
# Before starting, create the data directory:
# mkdir -p /mnt/user/appdata/cv-manager/data
services:
cv-manager:
build: .
container_name: cv-manager
ports:
- "3000:3000" # Admin interface (keep internal/protected)
- "3001:3001" # Public read-only (expose via CF tunnel)
# To change the host port, only change the LEFT side (e.g. "8080:3001")
# Do NOT change PUBLIC_PORT below - it must match the right side of the port mapping
volumes:
# Bind mount - change path to your Unraid appdata location
- /mnt/user/appdata/cv-manager/data:/app/data
environment:
- NODE_ENV=production
- PORT=3000
- PUBLIC_PORT=3001
- DB_PATH=/app/data/cv.db
networks:
- guac-net
# Run as specific user/group if needed (uncomment and adjust)
# user: "99:100" # nobody:users on Unraid
restart: unless-stopped
networks:
guac-net:
external: true