-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
56 lines (53 loc) · 1.52 KB
/
docker-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
version: "3.8"
services:
frontend:
environment:
- REACT_APP_INDEXER_ENDPOINT=http://localhost:3003
- REACT_APP_SERVER_URL=http://localhost:5050
build:
context: ./frontend
dockerfile: Dockerfile
expose:
- 3000
ports:
- "3000:3000"
backend:
environment:
- LOG_LEVEL=${LOG_LEVEL}
- API_HOST=${API_HOST}
- API_PORT=${API_PORT}
- UNSAFE_MODE=${UNSAFE_MODE}
- SUPPORTED_NETWORKS=${SUPPORTED_NETWORKS}
- CRON_PRIVATE_KEY=${CRON_PRIVATE_KEY}
- DEFAULT_INDEXER_ENDPOINT=${DEFAULT_INDEXER_ENDPOINT}
- FEE_MARKUP=${FEE_MARKUP}
- MULTI_TOKEN_MARKUP=${MULTI_TOKEN_MARKUP}
- ETHERSCAN_GAS_ORACLES=${ETHERSCAN_GAS_ORACLES}
- DEFAULT_API_KEY=${DEFAULT_API_KEY}
- WEBHOOK_URL=${WEBHOOK_URL}
- ADMIN_WALLET_ADDRESS=${ADMIN_WALLET_ADDRESS}
- HMAC_SECRET=${HMAC_SECRET}
- DATABASE_URL=${DATABASE_URL}
- DATABASE_SCHEMA_NAME=${DATABASE_SCHEMA_NAME}
- DATABASE_SSL_ENABLED=${DATABASE_SSL_ENABLED}
- DATABASE_SSL_REJECT_UNAUTHORIZED=${DATABASE_SSL_REJECT_UNAUTHORIZED}
- EPV_06=${EPV_06}
- EPV_07=${EPV_07}
build:
context: ./backend
dockerfile: Dockerfile
expose:
- 5050
ports:
- "5050:5050"
admin_frontend:
environment:
- REACT_APP_INDEXER_ENDPOINT=http://localhost:3003
- REACT_APP_SERVER_URL=http://localhost:5050
build:
context: ./admin_frontend
dockerfile: Dockerfile
expose:
- 3002
ports:
- "3002:3002"