-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (32 loc) · 823 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (32 loc) · 823 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
services:
postgres:
image: postgres:16-alpine
container_name: postgres
ports:
- "5432:5432"
environment:
POSTGRES_DB: codestream
POSTGRES_USER: codestream
POSTGRES_PASSWORD: codestream
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U codestream -d codestream"]
interval: 5s
timeout: 5s
retries: 5
localstack:
image: localstack/localstack:latest
container_name: localstack
ports:
- "4566:4566"
environment:
SERVICES: sqs
AWS_DEFAULT_REGION: us-east-1
LOCALSTACK_AUTH_TOKEN: ${LOCALSTACK_AUTH_TOKEN}
python-runner:
build:
context: ./worker-service/docker/python-runner
image: codestream-python-runner:latest
volumes:
postgres_data: