-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (63 loc) · 1.63 KB
/
docker-compose.yml
File metadata and controls
69 lines (63 loc) · 1.63 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
services:
accounts: &accounts
image: ${IMAGE}
container_name: accounts
init: true
volumes:
- ${HOME}/code/accounts:/app/code/accounts
- ${HOME}/code/ledger:/app/code/ledger
environment: &environment
BROWSER_USE_API_KEY: ${BROWSER_USE_API_KEY}
FRED_API_KEY: ${FRED_API_KEY}
HEALTHCHECKS_IO_HOURLY: ${HEALTHCHECKS_IO_HOURLY}
HEALTHCHECKS_IO_SCHWAB_AUTH: ${HEALTHCHECKS_IO_SCHWAB_AUTH}
REDIS_HOST: valkey
SCHWAB_API_KEY: ${SCHWAB_API_KEY}
SCHWAB_CALLBACK_URI: ${SCHWAB_CALLBACK_URI}
SCHWAB_SECRET: ${SCHWAB_SECRET}
restart: unless-stopped
networks: &networks
- caddy
depends_on:
- valkey
accounts-dev:
<<: *accounts
environment:
<<: *environment
REDIS_HOST: valkey-dev
container_name: accounts-dev
profiles: [ "development" ]
depends_on:
- valkey-dev
accounts_hourly:
<<: *accounts
restart: no
profiles: [ "scripts" ]
container_name: accounts_hourly
command: "/app/code/accounts/finance_hourly.py"
valkey: &valkey
image: valkey/valkey
container_name: valkey
networks: *networks
volumes:
- ${HOME}/code/accounts/web/valkey:/data
user: "1000:1000"
restart: unless-stopped
valkey-dev:
<<: *valkey
container_name: valkey-dev
user: "1001:1001"
profiles: [ "development" ]
chrome-cdp:
image: chromedp/headless-shell
profiles: [ "chrome" ]
command: ["--disable-gpu"]
container_name: chrome-cdp
restart: unless-stopped
networks: *networks
ports:
- "9222:9222"
networks:
caddy:
name: caddy
external: true