-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (52 loc) · 1.39 KB
/
docker-compose.yml
File metadata and controls
55 lines (52 loc) · 1.39 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
50
51
52
53
54
55
# CashPilot - Self-hosted passive income orchestrator
# https://github.com/GeiserX/CashPilot
#
# UI + Worker on the same server. For multi-server fleet, see docker-compose.fleet.yml
services:
cashpilot-ui:
build: .
image: drumsergio/cashpilot:latest
container_name: cashpilot-ui
ports:
- "8080:8080"
volumes:
- cashpilot_data:/data
- cashpilot_fleet:/fleet
environment:
- TZ=${TZ:-UTC}
- CASHPILOT_SECRET_KEY=${CASHPILOT_SECRET_KEY:-}
- CASHPILOT_API_KEY=${CASHPILOT_API_KEY:-}
- CASHPILOT_ADMIN_API_KEY=${CASHPILOT_ADMIN_API_KEY:-}
init: true
restart: unless-stopped
security_opt:
- no-new-privileges:true
tmpfs:
- /tmp:size=64M
cashpilot-worker:
build:
context: .
dockerfile: Dockerfile.worker
image: drumsergio/cashpilot-worker:latest
container_name: cashpilot-worker
expose:
- "8081"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- cashpilot_worker_data:/data
- cashpilot_fleet:/fleet
environment:
- TZ=${TZ:-UTC}
- CASHPILOT_UI_URL=http://cashpilot-ui:8080
- CASHPILOT_API_KEY=${CASHPILOT_API_KEY:-}
- CASHPILOT_WORKER_NAME=local
init: true
restart: unless-stopped
security_opt:
- no-new-privileges:true
tmpfs:
- /tmp:size=64M
volumes:
cashpilot_data:
cashpilot_worker_data:
cashpilot_fleet: