-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.35 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
38
39
40
41
42
43
44
45
46
47
48
49
# Eclosion - Docker Compose for Self-Hosting
# Your budgeting, evolved. A toolkit for Monarch Money.
#
# Quick Start:
# docker compose up -d
#
# Then open http://localhost:5001 in your browser.
#
# Data is persisted in a Docker volume. To back up:
# docker compose cp eclosion:/app/state ./backup
#
# To update to the latest version:
# docker compose pull
# docker compose up -d
services:
eclosion:
image: ghcr.io/312-dev/eclosion:stable
# Or build from source:
# build: .
container_name: eclosion
restart: unless-stopped
ports:
- "5001:5001"
volumes:
- eclosion_data:/app/state
environment:
# REQUIRED: Set a secret access code to protect your instance
# Generate one with: openssl rand -hex 16
# Access your instance at: http://localhost:5001?secret=YOUR_SECRET
INSTANCE_SECRET: "${INSTANCE_SECRET}"
# Timezone (optional)
TZ: "America/New_York"
# Optional: Pre-configure credentials (use web UI instead for security)
# MONARCH_MONEY_EMAIL: ""
# MONARCH_MONEY_PASSWORD: ""
# MFA_SECRET_KEY: ""
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5001/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
eclosion_data:
name: eclosion_data