-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (48 loc) · 1.23 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
version: '3'
services:
# Findy Frontend
findy-frontend:
build:
context: ./
dockerfile: Dockerfile.local
environment:
- GENESIS_FILE=/home/indy/pool_transactions_genesis
- LEDGER_SEED=$TRUSTEE_SEED
- JWT_SECRET=secret
- PORT=80
- LOG_LEVEL=info
- RUST_LOG=warning
- REGISTER_NEW_DIDS=True
- DB_HOST=findy-db
- DB_NAME=findytestfrontdb
- DB_USER=postgres
- DB_PASSWORD=test
- AML_CONFIG_FILE=/home/indy/config/findy_aml.json
- TAA_CONFIG_FILE=/home/indy/config/findy_taa.json
ports:
- 9000:80
depends_on:
findy-db:
condition: service_started
entrypoint: /bin/bash
command: [ '-c', 'source .env && python -m server.server' ]
volumes:
- ./local-storage/findy.yaml:/home/indy/findy.yaml
networks:
- findy-frontend-network
# Postgres DB
findy-db:
image: postgres:11.13
environment:
- POSTGRES_PASSWORD=test
- POSTGRES_USER=postgres
- POSTGRES_DB=findytestfrontdb
ports:
- 5432:5432
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
networks:
- findy-frontend-network
networks:
findy-frontend-network:
name: docker_findy-server