-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.dev.yml
68 lines (68 loc) · 2.05 KB
/
docker-compose.dev.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
version: "3.6"
services:
postgres:
image: postgres:14.1
container_name: postgres${DOCKER_ID}
restart: unless-stopped
environment:
- PG_RANDOM_ID=${PG_RANDOM_ID}
- POSTGRES_DATABASE=${POSTGRES_DATABASE}
- POSTGRES_HOST_AUTH_METHOD=${POSTGRES_HOST_AUTH_METHOD}
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- ./pgdata:/var/lib/postgresql/data
- ./pg-init-scripts:/docker-entrypoint-initdb.d
networks:
- debridge-node-network
debridge-api:
build: ./mocks/debridge-api
container_name: debridge-api${DOCKER_ID}
networks:
- debridge-node-network
debridge-node:
build: debridge_node
container_name: debridge-node${DOCKER_ID}
restart: unless-stopped
secrets:
- source: keystore
target: /app/keystore.json
- source: bundlr_wallet
target: /app/bundlr_wallet.json
volumes:
- ./stats/debridge-node:/app/stats
- ./config:/app/dist/config
environment:
- PORT=${DEBRIDGE_NODE_PORT}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DATABASE=${POSTGRES_DATABASE}
- POSTGRES_PORT=${POSTGRES_PORT}
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD}
- JWT_SECRET=${JWT_SECRET}
- API_BASE_URL=${API_BASE_URL}
- API_LOGIN=${API_LOGIN}
- API_PASSWORD=${API_PASSWORD}
- SENTRY_DSN=${SENTRY_DSN}
- NODE_OPTIONS=${DEBRIDGE_NODE_NODE_OPTIONS}
- THROTTLER_TTL=${THROTTLER_TTL}
- THROTTLER_LIMIT=${THROTTLER_LIMIT}
- WEB3_TIMEOUT=${WEB3_TIMEOUT}
- ENABLE_DATAFIX=${ENABLE_DATAFIX}
- BUNDLR_NODE=${BUNDLR_NODE}
depends_on:
- postgres
- debridge-api
networks:
- debridge-node-network
networks:
debridge-node-network:
name: debridge-node-network
secrets:
keystore:
file: ./secrets/keystore.json
bundlr_wallet:
file: ./secrets/bundlr_wallet.json