-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
45 lines (44 loc) · 1.05 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
version: "3"
services:
app:
image: simplycodedsoftware/php:8.2.12
volumes:
- "$PWD:/data/app"
user: 1000:1000
container_name: "ecotone-quickstart"
working_dir: "/data/app"
command: sleep 999999
environment:
RABBIT_HOST: "amqp://rabbitmq:5672"
DATABASE_DSN: pgsql://ecotone:secret@database:5432/ecotone
SECONDARY_DATABASE_DSN: mysql://ecotone:secret@database-mysql:3306/ecotone
networks:
- default
database:
image: postgres:12.1
networks:
- default
environment:
POSTGRES_USER: "ecotone"
POSTGRES_PASSWORD: "secret"
ports:
- "5432:5432"
database-mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: "secret"
MYSQL_USER: "ecotone"
MYSQL_PASSWORD: "secret"
MYSQL_DATABASE: "ecotone"
ports:
- "3306:3306"
rabbitmq:
image: rabbitmq:3.6-management-alpine
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- 5672:5672
- 15672:15672
networks:
- default