1
- version : " 3.8"
2
1
services :
3
2
gateway :
4
3
image : gateway
@@ -16,7 +15,7 @@ services:
16
15
- JHIPSTER_SLEEP=30
17
16
- JHIPSTER_REGISTRY_PASSWORD=admin
18
17
ports :
19
- - " 8080:8080:8080 "
18
+ - " 8080:8080"
20
19
gateway-postgresql :
21
20
image : postgres:13.2
22
21
environment :
@@ -63,51 +62,16 @@ services:
63
62
64
63
jhipster-registry :
65
64
image : jhipster/jhipster-registry:v6.7.1
66
- volumes :
67
- - ./central-server-config:/central-config
68
- # By default the JHipster Registry runs with the "dev" and "native"
69
- # Spring profiles.
70
- # "native" profile means the filesystem is used to store data, see
71
- # http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
72
65
environment :
73
66
- _JAVA_OPTIONS=-Xmx512m -Xms256m
74
67
- JHIPSTER_SLEEP=20
75
68
- SPRING_PROFILES_ACTIVE=dev,oauth2
76
69
- SPRING_SECURITY_USER_PASSWORD=admin
77
70
- JHIPSTER_REGISTRY_PASSWORD=admin
78
- # - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=native
79
- # - SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_LOCATIONS=file:./central-config
71
+ - ENCRYPT_KEY=${ENCRYPT_KEY}
80
72
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=git
81
73
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_URI=https://github.com/mraible/reactive-java-ms-config/
82
74
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_PATHS=config
83
75
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_LABEL=main
84
- - ENCRYPT_KEY=${ENCRYPT_KEY}
85
- # For Keycloak to work, you need to add '127.0.0.1 keycloak' to your hosts file
86
- # - SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OIDC_ISSUER_URI=http://keycloak:9080/auth/realms/jhipster
87
- # - SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT_ID=jhipster-registry
88
- # - SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT_SECRET=jhipster-registry
89
76
ports :
90
77
- 8761:8761
91
- keycloak :
92
- image : jboss/keycloak:12.0.4
93
- command :
94
- [
95
- " -b" ,
96
- " 0.0.0.0" ,
97
- " -Dkeycloak.migration.action=import" ,
98
- " -Dkeycloak.migration.provider=dir" ,
99
- " -Dkeycloak.migration.dir=/opt/jboss/keycloak/realm-config" ,
100
- " -Dkeycloak.migration.strategy=OVERWRITE_EXISTING" ,
101
- " -Djboss.socket.binding.port-offset=1000" ,
102
- " -Dkeycloak.profile.feature.upload_scripts=enabled" ,
103
- ]
104
- volumes :
105
- - ./realm-config:/opt/jboss/keycloak/realm-config
106
- environment :
107
- - KEYCLOAK_USER=admin
108
- - KEYCLOAK_PASSWORD=admin
109
- - DB_VENDOR=h2
110
- ports :
111
- - 9080:9080
112
- - 9443:9443
113
- - 10990:10990
0 commit comments