-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
46 lines (45 loc) · 1.47 KB
/
docker-compose.yaml
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
networks:
terrarium_network:
external: true
services:
mc-terrarium:
image: cloudbaristaorg/mc-terrarium:0.0.16
container_name: mc-terrarium
build:
context: .
dockerfile: Dockerfile
networks:
- terrarium_network
ports:
- target: 8055
published: 8055
protocol: tcp
env_file:
- ./secrets/credentials # AWS credentials
- ./secrets/credential-azure.env # Azure credentials
- ./secrets/credential-ncp.env # NCP credentials
volumes:
- ./secrets:/app/secrets:ro # GCP credentials
- ./container-volume/mc-terrarium-container/.terrarium:/app/.terrarium
environment:
- TERRARIUM_ROOT=/app
# - TERRARIUM_SELF_ENDPOINT=localhost:8055
# - TERRARIUM_API_ALLOW_ORIGINS=*
# - TERRARIUM_API_AUTH_ENABLED=true
# - TERRARIUM_API_USERNAME=default
# - TERRARIUM_API_PASSWORD=default
# - TERRARIUM_LOGFILE_PATH=/app/log/terrarium.log
# - TERRARIUM_LOGFILE_MAXSIZE=1000
# - TERRARIUM_LOGFILE_MAXBACKUPS=3
# - TERRARIUM_LOGFILE_MAXAGE=30
# - TERRARIUM_LOGFILE_COMPRESS=false
- TERRARIUM_LOGLEVEL=info
# - TERRARIUM_LOGWRITER=both
# - TERRARIUM_NODE_ENV=production
# - TERRARIUM_AUTOCONTROL_DURATION_MS=10000
healthcheck: # for MC-Terrarirum
test: [ "CMD", "curl", "-f", "http://localhost:8055/terrarium/readyz" ]
interval: 5m
timeout: 5s
retries: 3
start_period: 10s