-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (36 loc) · 837 Bytes
/
docker-compose.yaml
File metadata and controls
37 lines (36 loc) · 837 Bytes
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
version: "3"
services:
mint:
image: massmux/nutshell:0.15.0
volumes:
- ${PWD}/.cashu:/root/.cashu
- ${PWD}/.env:/app/.env
- ${PWD}/data:/app/data
ports:
- "3338:3338"
links:
- postgres
command: ["poetry", "run", "mint", "--port", "3338", "--host", "0.0.0.0"]
wallet:
image: massmux/nutshell:0.15.0
ports:
- "4448:4448"
depends_on:
- mint
links:
- mint
environment:
- MINT_URL=http://mint:3338
- API_HOST=0.0.0.0
links:
- postgres
command: ["poetry", "run", "cashu", "-d"]
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: abc123
POSTGRES_DB: cashudb
PGDATA: "/var/lib/postgresql/data/pgdata"
volumes:
- ${PWD}/pgdata:/var/lib/postgresql/data
- ${PWD}/pgtmp:/var/tmp