forked from omgnetwork/ewallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (43 loc) · 991 Bytes
/
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
---
version: "3"
services:
postgres:
image: postgres:9.6.9-alpine
restart: always
volumes:
- postgres-db:/var/lib/postgresql/data
networks:
- intnet
environment:
POSTGRESQL_PASSWORD: passw0rd
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-U", "postgres"]
interval: 30s
retries: 3
mail:
image: mailhog/mailhog:v1.0.0
restart: always
networks:
- intnet
ports:
- "8025:8025"
ewallet:
image: omisego/ewallet:stable
restart: always
networks:
- intnet
depends_on:
- postgres
- mail
environment:
DATABASE_URL: "postgresql://postgres:passw0rd@postgres:5432/ewallet"
LOCAL_LEDGER_DATABASE_URL: "postgresql://postgres:passw0rd@postgres:5432/local_ledger"
EWALLET_SECRET_KEY: "CHANGE_ME"
LOCAL_LEDGER_SECRET_KEY: "CHANGE_ME"
KEYCHAIN_SECRET_KEY: "CHANGE_ME"
ports:
- "4000:4000"
networks:
intnet:
volumes:
postgres-db: