-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 907 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 907 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
services:
stackport:
build: .
ports:
- "8080:8080"
environment:
- AWS_ENDPOINT_URL=http://ministack:4566
- AWS_REGION=us-east-1
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
# Uncomment to use AWS profiles/SSO from the container:
# volumes:
# - ~/.aws:/root/.aws
healthcheck:
test: [ "CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/api/health')" ]
interval: 10s
timeout: 3s
retries: 3
restart: unless-stopped
depends_on:
ministack:
condition: service_healthy
ministack:
image: ministackorg/ministack:latest
ports:
- "4566:4566"
healthcheck:
test: [ "CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:4566/_ministack/health')" ]
interval: 5s
timeout: 3s
retries: 5