generated from cheqd/.github
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose-testing.yml
35 lines (30 loc) · 1.23 KB
/
docker-compose-testing.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
version: '3.8'
# CAUTION: Please ensure you edit necessary values in docker-compose.env before using this Docker Compose file.
# SYNTAX: docker compose -f docker/docker-compose.yml up --detach
services:
did_resolver:
# OPTIONAL: Rebuild cheqd did-resolver Docker image, if you want build your own
# Default is to pull in the pre-published image on GitHub Container Registry
# SYNTAX: docker compose -f docker/docker-compose.yml build
# build:
# context: ../
# dockerfile: docker/Dockerfile
# target: resolver
# CAUTION: Change IMAGE_VERSION to local in docker-compose.env if building your own image in section below
image: cheqd/did-resolver:staging-latest
ports:
- target: 8080
published: 8080
mode: host
restart: on-failure
environment:
# Syntax: <grpc-endpoint-url:port>,boolean,time
# 1st parameter is gRPC endpoint
# 2nd (Boolean) parameter is whether to use TLS or not
# 3nd connection timeout
MAINNET_ENDPOINT: "grpc.cheqd.net:443,true,5s"
TESTNET_ENDPOINT: "grpc.cheqd.network:443,true,5s"
# Logging level
LOG_LEVEL: "warn"
# Interface and port to listen on in the container
RESOLVER_LISTENER: "0.0.0.0:8080"