-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-databases.yml
37 lines (37 loc) · 1.05 KB
/
docker-compose-databases.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
services:
serviceadb:
image: postgres:16-alpine
container_name: postgres-service-a
hostname: postgres-service-a
command: postgres -c 'max_connections=300' -c 'max_prepared_transactions=150'
ports:
- 15432:5432
environment:
- TZ=Europe/Madrid
- POSTGRES_DB=service
- POSTGRES_USER=wildfly
- POSTGRES_PASSWORD=password
servicebdb:
image: quay.io/demo-ejb-wildfly-xa/mysql-service-b:latest
container_name: mysql-service-b
hostname: mysql-service-b
ports:
- 3306:3306
environment:
- TZ=Europe/Madrid
- MYSQL_DATABASE=service
- MYSQL_USER=wildfly
- MYSQL_PASSWORD=password
- MYSQL_ROOT_PASSWORD=password
servicecdb:
image: postgres:16-alpine
container_name: postgres-service-c
hostname: postgres-service-c
command: postgres -c 'max_connections=300' -c 'max_prepared_transactions=150'
ports:
- 15434:5432
environment:
- TZ=Europe/Madrid
- POSTGRES_DB=service
- POSTGRES_USER=wildfly
- POSTGRES_PASSWORD=password