-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
87 lines (79 loc) · 2.35 KB
/
docker-compose.yaml
File metadata and controls
87 lines (79 loc) · 2.35 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '2.2'
services:
methodologist:
build: target
image: "Methodologist:${DOCKER_TAG:-latest}"
ports:
- '8787:8787'
- '5027:5027'
environment:
JAVA_OPTIONS: >-
-Xmx1024m
-Xdebug
-Dspring.profiles.active=docker
JAVA_TOOL_OPTIONS:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
depends_on:
- methodologist-postgresdb
methodologist-flyway:
image: flyway/flyway
command: -url=jdbc:postgresql://methodologist-postgresdb/methodologist -schemas=public -user=methodologist -password=methodologist -connectRetries=60 migrate
volumes:
- ${PWD}/src/main/resources/db/migration:/flyway/sql
depends_on:
- methodologist-postgresdb
methodologist-postgresdb:
image: postgres:17.2-alpine
ports:
- '3454:5432'
environment:
POSTGRES_USER: methodologist
POSTGRES_PASSWORD: methodologist
POSTGRES_DB: methodologist
mock-server:
image: mockserver/mockserver:5.14.0
command: -logLevel DEBUG -serverPort 1080
ports:
- '1080:1080'
environment:
MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
MOCKSERVER_INITIALIZATION_JSON_PATH: /config/initializer_expectations.json
volumes:
- ./component-test/features/expectations/:/config/
keycloak:
image: quay.io/keycloak/keycloak:26.1.0
environment:
JAVA_OPTS: >-
-server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m
-Djava.net.preferIPv4Stack=true
-Dkeycloak.profile.feature.admin_fine_grained_authz=enabled
-Dkeycloak.profile.feature.token_exchange=enabled
DB_ADDR: keycloak-db
DB_USER: keycloak
DB_PASSWORD: keycloak
DB_VENDOR: postgres
DB_DATABASE: keycloak
DB_PORT: "5139"
KC_LOG_LEVEL: info
KC_METRICS_ENABLED: true
KC_HEALTH_ENABLED: true
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- '7668:8080'
command:
- start-dev
- --import-realm
depends_on:
- keycloak-db
volumes:
- ./docker/keycloak:/tmp
- ./docker/keycloak/themes/test:/opt/jboss/keycloak/themes/test
keycloak-db:
image: postgres:17.2-alpine
ports:
- '5637:5432'
environment:
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: keycloak
POSTGRES_DB: keycloak