-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommon-config.yml
More file actions
49 lines (45 loc) · 1.28 KB
/
Copy pathcommon-config.yml
File metadata and controls
49 lines (45 loc) · 1.28 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
services:
network-deploy-service:
networks:
- kukeboard
microservice-base-config:
extends:
service: network-deploy-service
deploy:
resources:
limits:
memory: 700m
microservice-db-config:
extends:
service: network-deploy-service
image: suayb/bitnami-debezium-postgresql:15.4.0
healthcheck:
test: pg_isready -U postgres
timeout: 10s
retries: 10
interval: 10s
start_period: 10s
environment:
POSTGRESQL_PASSWORD: root
microservice-config-server-config:
extends:
service: microservice-base-config
depends_on:
config-server:
condition: service_healthy
environment:
SPRING_PROFILES_ACTIVE: default, docker
SPRING_CONFIG_IMPORT: configserver:http://kukeboard:root@config-server:8071/
# SPRING_DATASOURCE_USERNAME: easybank
# SPRING_DATASOURCE_PASSWORD: root
# SPRING_DATA_REDIS_CONNECT-TIMEOUT: 2s
# SPRING_DATA_REDIS_HOST: redis
# SPRING_DATA_REDIS_PORT: 6379
# SPRING_DATA_REDIS_PASSWORD: d41d8cd98f00b204e9800998ecf8427e
# SPRING_DATA_REDIS_TIMEOUT: 1s
microservice-eureka-config:
extends:
service: microservice-config-server-config
depends_on:
eureka-server:
condition: service_healthy