forked from Azure/sap-automation-qa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 1.29 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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
services:
sap-qa-service:
build:
context: ..
dockerfile: deploy/Dockerfile
container_name: sap-qa-service
restart: unless-stopped
ports:
- "8000:8000"
environment:
- LOG_FORMAT=${LOG_FORMAT:-json}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- SCHEDULER_CHECK_INTERVAL=${SCHEDULER_CHECK_INTERVAL:-60}
- PYTHONPATH=/app
volumes:
- sap-qa-data:/app/data
- ssh-keys:/root/.ssh:ro
- ../WORKSPACES:/app/WORKSPACES
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
- sap-qa-network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
sap-qa-data:
driver: local
ssh-keys:
driver: local
networks:
sap-qa-network:
driver: bridge