-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.aws.yml
More file actions
46 lines (45 loc) · 1.22 KB
/
docker-compose.aws.yml
File metadata and controls
46 lines (45 loc) · 1.22 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
services:
aws:
image: gresau/localstack-persist:4
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4566/_localstack/health"]
interval: 5s
retries: 5
timeout: 10s
start_period: 10s
ports:
- "4566:4566"
volumes:
- localstack_s3_data:/persisted-data
environment:
- PERSIST_DEFAULT=0
- PERSIST_S3=1
initialize:
image: ${AWS_ACCOUNT_ID:-123456789012}.dkr.ecr.${AWS_REGION:-us-east-1}.amazonaws.com/hatchet/globi:${IMAGE_TAG:-latest}
build:
context: .
dockerfile: src/globi/worker/Dockerfile
args:
- EP_VERSION=${EP_VERSION:-25.2.0}
- PYTHON_VERSION=${PYTHON_VERSION:-3.12}
command:
["uv", "run", "python", "src/globi/worker/initialize/local_aws_init.py"]
env_file:
- .env
- .env.local.aws
- .env.scythe.storage
depends_on:
aws:
condition: service_healthy
simulations:
depends_on:
initialize:
# wait for initialize to have completed
condition: service_completed_successfully
fanouts:
depends_on:
initialize:
# wait for initialize to have completed
condition: service_completed_successfully
volumes:
localstack_s3_data: