Skip to content

Commit 64929a1

Browse files
committed
Add cluster mode in tests
1 parent d8edd45 commit 64929a1

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docker-compose.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,31 @@ services:
1717
LOG_LEVEL: DEBUG
1818
JASPER_LOG_LEVEL: DEBUG
1919

20+
db:
21+
image: camptocamp/postgres:14-postgis-3
22+
environment:
23+
- POSTGRES_PASSWORD=pgpass
24+
- POSTGRES_DB=print
25+
- POSTGRES_USER=print
26+
27+
printclusternode1: &printclusternode
28+
image: mapfish_print_tester
29+
volumes:
30+
- ./examples/src/test/resources/examples:/usr/local/tomcat/webapps/ROOT/print-apps
31+
ports:
32+
- 8081:8080
33+
environment:
34+
PRINT_YAML_MAX_ALIASES: 200
35+
LOG_LEVEL: DEBUG
36+
JASPER_LOG_LEVEL: DEBUG
37+
CATALINA_OUT: /dev/stdout
38+
CATALINA_OPTS: -Ddb.host=db -Ddb.port=5432 -Ddb.username=print -Ddb.password=pgpass -Ddb.name=print -Ddb.schema=public
39+
40+
printclusternode2:
41+
<<: *printclusternode
42+
ports:
43+
- 8082:8080
44+
2045
tests:
2146
image: mapfish_print_builder
2247
user: ${USER_ID}

0 commit comments

Comments
 (0)