-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (59 loc) · 1.55 KB
/
docker-compose.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
shm_size: 128mb
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
ports:
- "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5
pgadmin:
image: dpage/pgadmin4:8
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: root
PGADMIN_CONFIG_SERVER_MODE: "False"
PGADMIN_DISABLE_POSTFIX: "True"
MASTER_PASSWORD_REQUIRED: "False"
ports:
- "5050:80"
depends_on:
postgres:
condition: service_healthy
localstack:
image: localstack/localstack
restart: unless-stopped
volumes:
- "${HOME}/.docker/run:/var/run"
ports:
- "4566:4566" # LocalStack Gateway
- "4510-4559:4510-4559" # external services port range
environment:
- SERVICES=s3,dynamodb,dynamodbstreams
- EAGER_SERVICE_LOADING=1
- LOCALSTACK_HOST=localstack
- HOSTNAME=localstack
- DEBUG=0
- FORCE_NONINTERACTIVE=true
dynamodb-admin:
image: aaronshaf/dynamodb-admin:latest
container_name: dynamodb-admin
restart: unless-stopped
ports:
- "8999:8001"
environment:
DYNAMO_ENDPOINT: http://localstack:4566/
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: teste
depends_on:
localstack:
condition: service_healthy