-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 1.03 KB
/
Copy pathdocker-compose.yml
File metadata and controls
27 lines (26 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
services:
plan-manager:
build: .
container_name: sentinel-plan-manager
restart: unless-stopped
ports:
- "3003:3003"
environment:
# Single-user mode: set your 12/24-word mnemonic here (or in a sibling
# `.env` file). The server boots that one wallet and everyone sharing
# the server uses it.
MNEMONIC: ${MNEMONIC:-}
# Multi-user mode: set MULTI_USER=true to skip the env-wallet bootstrap.
# Each visitor then logs in with their own mnemonic; the server stores
# it in an httpOnly AES-256-GCM encrypted cookie (key at /data/.session-key).
MULTI_USER: ${MULTI_USER:-}
# Optional: pin the cookie encryption key (64-char hex). If unset, one
# is auto-generated under /data/.session-key on first boot.
SESSION_KEY: ${SESSION_KEY:-}
PORT: 3003
volumes:
# Single named volume for all persistent state. The app writes
# .wallet.json, my-plans.json, and nodes-cache.json under /data.
- plan-manager-data:/data
volumes:
plan-manager-data: