-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yml
183 lines (175 loc) · 3.72 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
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/.dev.env
ports:
- '4000:4000'
volumes:
- .:/usr/src/app
auth:
container_name: auth
build:
context: .
dockerfile: ./apps/auth/Dockerfile
target: development
command: bun dev auth
restart: always
depends_on:
- mongodb
env_file:
- ./apps/auth/.dev.env
ports:
- '4010:4010'
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:
- clientd
- mongodb
- redis
env_file:
- ./apps/swap/.dev.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/.dev.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/.dev.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/.dev.env
ports:
- '4070:4070'
volumes:
- .:/usr/src/app
solowallet:
container_name: solowallet
build:
context: .
dockerfile: ./apps/solowallet/Dockerfile
target: development
command: [
"sh",
"-c",
"bun dev solowallet"
]
restart: always
depends_on:
- swap
- mongodb
- redis
env_file:
- ./apps/solowallet/.dev.env
ports:
- '4080:4080'
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:
- '0.0.0.0:27017:27017'
volumes:
- mongodb_datadir:/data/db
restart: always
redis:
image: redis:7-alpine
container_name: redis
ports:
- '6379:6379'
restart: always
clientd:
image: okjodom/fedimint-clientd:v0.4.0
container_name: clientd
environment:
- FEDIMINT_CLIENTD_DB_PATH=/var/lib/clientd
- FEDIMINT_CLIENTD_PASSWORD=fmcdpass
- FEDIMINT_CLIENTD_ADDR=clientd:7070
- FEDIMINT_CLIENTD_MODE=rest
# - FEDIMINT_CLIENTD_INVITE_CODE=fed11qgqrwdthwden5te0v9cxjttndakk2ttrdpjk2um994erx7rsx568vur9dy68z6pnvd6xg63hwsh8wmn90p6zuctswqhsqqfqt94ttf29vdm0jfw3gk3w7quvcknshxd705ksavc0ajj7sj0v6dgsxcydnc
- FEDIMINT_CLIENTD_INVITE_CODE=fed11qgqrsdnhwden5te0dp6k6mtfdenj6mr0v3nk2tfk09jkkeekxechqmphdvm8wdttxauxvufwwahx27r59eshqup0waej7qqpyq8kqe90ktshlvw3f88ztywxz559ag0yjvljvvtd3kepx2sfg2qdjn7s5m0
ports:
- 7070:7070
volumes:
- clientd_datadir:/var/lib/clientd
restart: always
volumes:
mongodb_datadir:
clientd_datadir: