-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-test.yml
53 lines (52 loc) · 1.1 KB
/
docker-compose-test.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
version: '3'
networks:
outbox-nw:
driver: bridge
services:
mysql:
image: mysql:8.0.24
platform: linux/x86_64
container_name: ob-mysql
restart: always
command: --default-authentication-plugin=mysql_native_password
ports:
- 33060:3306
networks:
- outbox-nw
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=test_outbox
postgres:
image: postgres:13.2-alpine
platform: linux/x86_64
container_name: ob-postgres
restart: always
ports:
- 54320:5432
networks:
- outbox-nw
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_USER=postgres
- POSTGRES_DB=test_outbox
rabbit:
image: 'rabbitmq:3.8.9-management-alpine'
container_name: ob-rabbit
networks:
- outbox-nw
hostname: rabbit
ports:
- '56720:5672'
- '15672:15672'
sqs:
image: 'localstack/localstack'
container_name: ob-sqs
networks:
- outbox-nw
ports:
- '45660:4566'
- '4571:4571'
environment:
- SERVICES=sqs