This repository was archived by the owner on Aug 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (62 loc) · 1.65 KB
/
docker-compose.yml
File metadata and controls
65 lines (62 loc) · 1.65 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
services:
keycloak:
image: quay.io/keycloak/keycloak:26.1
container_name: keycloak_dev
restart: unless-stopped
network_mode: host
# ports:
# - "9000:9000"
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
KC_HTTP_ENABLED: true
KC_HTTPS_ENABLED: false
KC_HTTP_PORT: 9000
volumes:
- ./import:/opt/keycloak/data/import
command: start-dev --import-realm
eureka:
image: rodrigobrocchi/resqueue-server:latest
restart: unless-stopped
container_name: eureka_dev
network_mode: host
# ports:
# - "8761:8761"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8761/actuator/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
depends_on:
- keycloak
gateway:
image: rodrigobrocchi/resqueue-gateway:latest
restart: unless-stopped
container_name: gateway_dev
network_mode: host
# ports:
# - "8080:8080"
environment:
KC_BASE_ISSUER_URL: http://localhost:9000
EUREKA_URL: http://localhost:8761/eureka
depends_on:
eureka:
condition: service_healthy
user:
image: rodrigobrocchi/resqueue-user:latest
restart: unless-stopped
container_name: user_dev
network_mode: host
# ports:
# - "9001:9001"
environment:
KC_BASE_ISSUER_URL: http://localhost:9000
EUREKA_URL: http://localhost:8761/eureka
AUTH_RESQUEUE_CLIENT_SECRET: 0eaQY7UIJ7PSc482osmIXMsO8RbPRksT
AUTH_BASE_URL: http://localhost:9000
depends_on:
eureka:
condition: service_healthy
gateway:
condition: service_started