forked from tarmac-project/tarmac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 857 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 857 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
28
29
30
31
32
33
34
35
36
37
38
version: '3.8'
services:
tarmac:
build: .
ports:
- 443:8443
- 80:8080
environment:
- "APP_ENABLE_TLS=false"
- "APP_LISTEN_ADDR=0.0.0.0:8080"
- "APP_DB_SERVER=redis:6379"
- "APP_USE_CONSUL=true"
- "APP_CONSUL_ADDR=consul:8500"
- "APP_CONSUL_KEYS_PREFIX=tarmac/config"
- "CONSUL_HTTP_ADDR=consul:8500"
- "CONSUL_HTTP_SSL=false"
depends_on:
- redis
- consul
- consulator
redis:
image: bitnami/redis:latest
environment:
- ALLOW_EMPTY_PASSWORD=yes
consul:
image: consul
ports:
- 8500:8500
consulator:
image: lewispeckover/consulator
command: "import /app/tarmac-consul.yml"
depends_on:
- consul
volumes:
- "./:/app"
environment:
- "CONSUL_HTTP_ADDR=consul:8500"
- "CONSUL_HTTP_SSL=false"