File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ services:
35
35
timeout : 2s
36
36
retries : 10
37
37
start_period : 15s
38
+ extra_hosts :
39
+ - " backend:127.0.0.1"
38
40
depends_on :
39
41
- rabbitmq
40
42
- postgresql
Original file line number Diff line number Diff line change @@ -8,7 +8,14 @@ if ! grep -qF '127.0.0.1 keycloak' /etc/hosts; then
8
8
echo ' 127.0.0.1 keycloak' | sudo tee -a /etc/hosts > /dev/null
9
9
echo " Adding keycloak to /etc/hosts"
10
10
else
11
- echo " Host entry already exists in /etc/hosts"
11
+ echo " Keycloak host entry already exists in /etc/hosts"
12
+ fi
13
+
14
+ if ! grep -qF ' 127.0.0.1 backend' /etc/hosts; then
15
+ echo ' 127.0.0.1 backend' | sudo tee -a /etc/hosts > /dev/null
16
+ echo " Adding backend to /etc/hosts"
17
+ else
18
+ echo " Backend host entry already exists in /etc/hosts"
12
19
fi
13
20
14
21
KEYCLOAK_URL=" http://localhost:8093"
You can’t perform that action at this time.
0 commit comments