forked from sourceallies/interviews
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 845 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 845 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
version: '3'
services:
postgres:
image: postgres:bookworm
ports:
- 5432:5432
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- PGDATA=/var/lib/postgresql/pgdata
volumes:
- ./postgres-data:/var/lib/postgresql/pgdata
# AWS resources we use the SDK to interact with. Currently S3 & SQS
localstack:
image: localstack/localstack:2.3.2
environment:
- LOCALSTACK_SERVICES=s3,sqs
- LS_LOG=info
- AWS_DEFAULT_REGION=us-east-1
- AWS_ACCESS_KEY_ID=dummyaccess
- AWS_SECRET_ACCESS_KEY=dummysecret
- SKIP_SSL_CERT_DOWNLOAD=1
- SQS_ENDPOINT_STRATEGY=path
volumes:
- ./localstack/data:/var/lib/localstack
- ./localstack/init.sh:/etc/localstack/init/ready.d/init.sh
ports:
- 4566:4566