forked from flow-hydraulics/flow-pds
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.testnet.yml
41 lines (39 loc) · 1.09 KB
/
docker-compose.testnet.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
---
version: "3.9"
services:
db:
image: postgres:13-alpine
restart: unless-stopped
ports:
- "5432:5432"
environment:
- POSTGRES_DB=testnet
- POSTGRES_USER=testnet
- POSTGRES_PASSWORD=testnet
pgadmin:
image: dpage/pgadmin4
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
api:
build:
context: ./
dockerfile: Dockerfile
ports:
- "3000:3000"
env_file: .env.testnet
environment:
FLOW_PDS_ADMIN_ADDRESS: 070704779ca994b7
FLOW_PDS_ADMIN_PRIVATE_KEY:
FLOW_PDS_ADMIN_PRIVATE_KEY_INDEXES: 0
FLOW_PDS_ADMIN_PRIVATE_KEY_TYPE: local
FLOW_PDS_DATABASE_DSN: postgresql://testnet:testnet@db:5432/testnet
FLOW_PDS_DATABASE_TYPE: psql
FLOW_PDS_ACCESS_API_HOST: access.devnet.nodes.onflow.org:9000
PDS_ADDRESS: 070704779ca994b7 # PDS account address
NON_FUNGIBLE_TOKEN_ADDRESS: 631e88ae7f1d7c20
FUNGIBLE_TOKEN_ADDRESS: 631e88ae7f1d7c20
METADATA_VIEWS_ADDRESS: 631e88ae7f1d7c20