blob: 2f9570cb53f7e11d171d3af44fc99acb4a5c908f (
plain) (
blame)
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
|
version: '3.6'
services:
app:
depends_on:
- maria
container_name: app
image: asoltys/coinos-server
restart: on-failure
environment:
HASURA_SECRET: '${HASURA_GRAPHQL_ADMIN_SECRET}'
CLOUDFLARE_TOKEN: '${CLOUDFLARE_TOKEN}'
CLOUDFLARE_ZONE: '${CLOUDFLARE_ZONE}'
DOMAIN: '${DOMAIN}'
COINOS_URL: '${COINOS_URL}'
COINOS_TOKEN: '${COINOS_TOKEN}'
HASURA_URL: '${HASURA_URL}'
HASURA_JWT: '${HASURA_GRAPHQL_JWT_SECRET}'
LIQUID_ELECTRS_URL: '${LIQUID_ELECTRS_URL}'
HBP_URL: '${HBP_URL}'
IPFS_URL: '${IPFS_URL}'
IPFS_WEB_URL: '${IPFS_WEB_URL}'
SIGNING_SERVER_MNEMONIC: '${SIGNING_SERVER_MNEMONIC}'
ports:
- '8091:8091'
- '8092:8092'
volumes:
- ./config:/app/config
postgres:
container_name: postgres
image: postgres:12
restart: always
environment:
POSTGRES_PASSWORD: postgrespassword
volumes:
- ${DATA_DIR}:/var/lib/postgresql/data
ports:
- '5433:5432'
hasura:
container_name: hasura
image: hasura/graphql-engine:v1.3.3
ports:
- '8080:8080'
depends_on:
- postgres
restart: always
volumes:
- ./migrations:/hasura-migrations
- ./metadata:/hasura-metadata
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres
HASURA_GRAPHQL_ADMIN_SECRET: '${HASURA_GRAPHQL_ADMIN_SECRET}'
HASURA_GRAPHQL_JWT_SECRET: '${HASURA_GRAPHQL_JWT_SECRET}'
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: "anonymous"
hbp:
container_name: hbp
image: nhost/hasura-backend-plus:latest
depends_on:
- hasura
ports:
- '3400:3000'
environment:
SERVER_URL: '${SERVER_URL}'
HASURA_ENDPOINT: '${HASURA_URL}/v1/graphql'
HASURA_GRAPHQL_ADMIN_SECRET: '${HASURA_GRAPHQL_ADMIN_SECRET}'
JWT_ALGORITHM: '${JWT_ALGORITHM}'
JWT_KEY: '${JWT_KEY}'
AUTO_MIGRATE: "true"
AUTO_ACTIVATE_NEW_USERS: "false"
STORAGE_ENABLE: "false"
MAX_REQUESTS: 10000
LOST_PASSWORD_ENABLE: "true"
EMAILS_ENABLE: "true"
SMTP_HOST: '${SMTP_HOST}'
SMTP_PORT: '${SMTP_PORT}'
SMTP_USER: '${SMTP_USER}'
SMTP_PASS: '${SMTP_PASS}'
SMTP_SENDER: '${SMTP_SENDER}'
volumes:
- ./custom:/app/custom
ipfs:
container_name: ipfs
image: ipfs/go-ipfs
ports:
- 8081:8080
- 4001:4001
- 5001:5001
volumes:
- ${IPFS_DATA}:/data/ipfs
- ${STORAGE_DIR}:/export
bitcoin:
image: asoltys/bitcoin:latest
container_name: bitcoin
ports:
- ${BITCOIN_PEER_PORT}:19000
- ${BITCOIN_NODE_PORT}:19001
volumes:
- ./liquidregtest/config/:/config
restart: unless-stopped
liquid:
image: asoltys/liquid:latest
container_name: liquid
ports:
- ${LIQUID_NODE_PORT}:18884
- ${LIQUID_PEER_PORT}:18886
- ${LIQUID_BLOCK_PORT}:18602
- ${LIQUID_TX_PORT}:18603
volumes:
- ./liquidregtest/liquid-config/:/config
restart: unless-stopped
electrs-liquid:
image: vulpemventures/electrs-liquid:latest
container_name: electrs-liquid
entrypoint:
- /build/electrs
command:
- -vvvv
- --parent-network
- regtest
- --network
- liquidregtest
- --daemon-dir
- /config
- --daemon-rpc-addr
- liquid:18884
- --cookie
- admin1:123
- --http-addr
- 0.0.0.0:3002
- --electrum-rpc-addr
- 0.0.0.0:60401
- --cors
- "*"
depends_on:
- liquid
ports:
- ${LIQUID_ELECTRS_RPC_PORT}:60401
- ${LIQUID_ELECTRS_PORT}:3002
volumes:
- ./liquidregtest/liquid-config/:/config
restart: unless-stopped
esplora-liquid:
image: vulpemventures/esplora:latest
container_name: esplora-liquid
environment:
API_URL: ${LIQUID_ELECTRS_URL}
NATIVE_ASSET_ID: 5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225
IS_ELEMENTS: 1
ports:
- ${LIQUID_ESPLORA_PORT}:5000
restart: unless-stopped
|