-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
55 lines (50 loc) · 1.18 KB
/
docker-compose.yaml
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
services:
redis:
container_name: redis
image: "redis:7.2-alpine"
command: redis-server
ports:
- "6379:6379"
networks:
- provider_net
postgres:
container_name: postgres
image: "postgres:latest"
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: general
volumes:
- ./postgres_data:/var/lib/postgresql/data
networks:
- provider_net
localstack:
container_name: localstack
image: localstack/localstack
ports:
- "4566:4566" # LocalStack exposes services on this port
environment:
- SERVICES=s3
- DEFAULT_REGION=us-east-1
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
volumes:
- ./localstack_data/bootstrap:/opt/bootstrap/
- ./localstack_data:/tmp/localstack_data
networks:
- provider_net
mailhog:
image: mailhog/mailhog
platform: linux/amd64
restart: always
command: MailHog -auth-file=/etc/mailhog-auth.txt
volumes:
- ./mailhog-auth.txt:/etc/mailhog-auth.txt
ports:
- "1025:1025"
- "8025:8025"
networks:
provider_net:
driver: bridge