-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (55 loc) · 1.36 KB
/
Copy pathdocker-compose.yml
File metadata and controls
58 lines (55 loc) · 1.36 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.8'
services:
taurus-executor:
build:
context: .
dockerfile: Dockerfile
container_name: taurus-executor
restart: unless-stopped
ports:
- "50051:50051"
environment:
- GRPC_HOST=0.0.0.0
- GRPC_PORT=50051
- LOG_LEVEL=INFO
- LOG_FORMAT=json
- TAURUS_SERVER_URL=http://host.docker.internal:8000
- TAURUS_HOST_UUID=docker-host-uuid
volumes:
- ./tls:/opt/taurus-executor/tls:ro
- ./data:/opt/taurus-executor/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:50051/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
networks:
- taurus-network
# Development service with hot-reload
taurus-executor-dev:
build:
context: .
dockerfile: Dockerfile.dev
container_name: taurus-executor-dev
restart: unless-stopped
ports:
- "50052:50051"
environment:
- GRPC_HOST=0.0.0.0
- GRPC_PORT=50051
- LOG_LEVEL=DEBUG
- LOG_FORMAT=text
- TAURUS_SERVER_URL=http://host.docker.internal:8000
- TAURUS_HOST_UUID=docker-dev-uuid
volumes:
- ./src:/opt/taurus-executor/src:ro
- ./tls:/opt/taurus-executor/tls:ro
- ./data:/opt/taurus-executor/data
profiles:
- dev
networks:
- taurus-network
networks:
taurus-network:
driver: bridge