-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 1008 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 1008 Bytes
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
#This container is only for dev purposes
version: '3.8'
services:
postgres:
image: postgres:latest
environment:
POSTGRES_DB: ddrpc
POSTGRES_USER: ddrpcdev
POSTGRES_PASSWORD: ddrpc123
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
extra_hosts:
- "host.docker.internal:host-gateway"
ethereum:
image: ethereum/client-go:stable
ports:
- "8545:8545"
- "30303:30303"
command: --http --http.addr 0.0.0.0 --http.port 8545 --http.api eth,net,web3 --syncmode snap
dd_rpc:
image: ghcr.io/developer-dao/rpc:latest
ports:
- "8080:80"
environment:
- DATABASE_URL=postgresql://ddrpcdev:ddrpc123@postgres:5432/ddrpc
- ETHEREUM_ENDPOINT=http://ethereum:8545
- SMTP_USERNAME=fake@test.com
- SMTP_PASSWORD=TEST
- JWT_KEY=0cd8a9ca80c521ce59f4663bfc5379b7a4acc11c34d8852dfc9a71b6dba00985
depends_on:
- postgres
- ethereum
volumes:
postgres_data: