-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
42 lines (40 loc) · 1006 Bytes
/
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
version: '3'
networks:
mynetwork:
driver: bridge
services:
infinispan-server-lon:
image: infinispan/server:latest
environment:
- USER=admin
- PASS=secret
- SERVER_LIBS=org.postgresql:postgresql:42.3.1
ports:
- "11222:11222"
container_name: infinispan-lon
networks:
- mynetwork
depends_on:
- database
command: -c infinispan-xsite.xml -Dinfinispan.site.name=LON -Djgroups.mcast_port=46656
infinispan-server-nyc:
image: infinispan/server:latest
environment:
- USER=admin
- PASS=secret
ports:
- "31222:11222"
container_name: infinispan-nyc
networks:
- mynetwork
command: -c infinispan-xsite.xml -Dinfinispan.site.name=NYC -Djgroups.mcast_port=46657
database:
image: postgres:13.3
environment:
POSTGRES_USER: "infinispan"
POSTGRES_PASSWORD: "secret"
POSTGRES_DB: "retailstore"
ports:
- "5432:5432"
networks:
- mynetwork