-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yml
141 lines (136 loc) · 2.8 KB
/
compose.yml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
services:
api:
container_name: api
build:
context: .
dockerfile: ./apps/api/Dockerfile
target: development
command: bun dev api
restart: always
depends_on:
- mongodb
env_file:
- ./apps/api/.env
ports:
- '4000:4000'
volumes:
- .:/usr/src/app
swap:
container_name: swap
build:
context: .
dockerfile: ./apps/swap/Dockerfile
target: development
command: [
"sh",
"-c",
"bun dev swap"
]
restart: always
depends_on:
- swap-clientd
- mongodb
- redis
env_file:
- ./apps/swap/.env
ports:
- '4040:4040'
volumes:
- .:/usr/src/app
nostr:
container_name: nostr
build:
context: .
dockerfile: ./apps/nostr/Dockerfile
target: development
command: [
"sh",
"-c",
"bun dev nostr"
]
restart: always
depends_on:
- mongodb
- redis
env_file:
- ./apps/nostr/.env
ports:
- '4050:4050'
volumes:
- .:/usr/src/app
sms:
container_name: sms
build:
context: .
dockerfile: ./apps/sms/Dockerfile
target: development
command: [
"sh",
"-c",
"bun dev sms"
]
restart: always
depends_on:
- mongodb
- redis
env_file:
- ./apps/sms/.env
ports:
- '4060:4060'
volumes:
- .:/usr/src/app
shares:
container_name: shares
build:
context: .
dockerfile: ./apps/shares/Dockerfile
target: development
command: [
"sh",
"-c",
"bun dev shares"
]
restart: always
depends_on:
- mongodb
- redis
env_file:
- ./apps/shares/.env
ports:
- '4070:4070'
volumes:
- .:/usr/src/app
mongodb:
image: mongo:7.0-jammy
container_name: mongodb
environment:
- MONGO_INITDB_ROOT_USERNAME=bs
- MONGO_INITDB_ROOT_PASSWORD=password
ports:
- '27017:27017'
volumes:
- mongodb_datadir:/data/db
restart: always
redis:
image: redis:7-alpine
container_name: redis
ports:
- '6379:6379'
restart: always
swap-clientd:
image: okjodom/fedimint-clientd:v0.4.0
container_name: swap-clientd
environment:
- FEDIMINT_CLIENTD_DB_PATH=/var/lib/clientd
- FEDIMINT_CLIENTD_PASSWORD=fmcdpass
- FEDIMINT_CLIENTD_ADDR=0.0.0.0:7070
- FEDIMINT_CLIENTD_MODE=rest
- FEDIMINT_CLIENTD_INVITE_CODE=fed11qgqrwdthwden5te0v9cxjttndakk2ttrdpjk2um994erx7rsx568vur9dy68z6pnvd6xg63hwsh8wmn90p6zuctswqhsqqfqt94ttf29vdm0jfw3gk3w7quvcknshxd705ksavc0ajj7sj0v6dgsxcydnc
ports:
- 0.0.0.0:7070:7070
volumes:
- swap_clientd_datadir:/var/lib/clientd
restart: always
volumes:
mongodb_datadir:
swap_clientd_datadir: