-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (25 loc) · 901 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (25 loc) · 901 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
#docker compose --env-file .env up -d
services:
consensus:
build:
context: .
dockerfile: Dockerfile
image: consensus:latest
container_name: consensus
ports:
- "8585:8080"
# Set an env var of CONSENSUS_APIKEY with your key value first.
environment:
- Consensus__ApiEndpoint=${Consensus__ApiEndpoint}
- Consensus__ApiKey=${Consensus__ApiKey}
- Consensus__CleanupCrontab=${Consensus__CleanupCrontab}
- Consensus__Models__0=${Consensus__Models__0}
- Consensus__Models__1=${Consensus__Models__1}
- Consensus__Models__2=${Consensus__Models__2}
- Consensus__Models__3=${Consensus__Models__3}
- Consensus__Models__4=${Consensus__Models__4}
- Consensus__Models__5=${Consensus__Models__5}
- Consensus__Models__6=${Consensus__Models__6}
volumes:
- ./output:/app/output
restart: unless-stopped