-
-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathdocker-compose.production.yml
More file actions
37 lines (31 loc) · 1.03 KB
/
Copy pathdocker-compose.production.yml
File metadata and controls
37 lines (31 loc) · 1.03 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
27
28
29
30
31
32
33
34
35
36
37
services:
meshmonitor:
# Use pre-built image from GitHub Container Registry
image: ghcr.io/yeraze/meshmonitor:latest
# Or build locally for testing
# build:
# context: .
# dockerfile: Dockerfile
container_name: meshmonitor-production
ports:
- "8084:3001" # Expose on port 8084 for reverse proxy
restart: unless-stopped
volumes:
- meshmonitor-production-data:/data
env_file: .env.production
environment:
# Production configuration for HTTPS reverse proxy (nginx, Caddy, Traefik)
- NODE_ENV=production
- TZ=America/New_York
# Reverse Proxy Settings
- TRUST_PROXY=true
- ALLOWED_ORIGINS=https://meshdev.yeraze.online
# Security Settings for HTTPS
- COOKIE_SECURE=true
- COOKIE_SAMESITE=lax
# IMPORTANT: Set SESSION_SECRET in .env.production for persistent sessions
# Generate with: openssl rand -hex 32
# SESSION_SECRET is read from .env.production file
volumes:
meshmonitor-production-data:
driver: local