Commit a1d2aa119300c42af5ca9dcd8845c02d419b9d31
1 parent
15aa10c8
Exists in
master
update postgres docker compose
Showing
1 changed file
with
19 additions
and
2 deletions
Show diff stats
debezium/postgres/docker-compose.yml
... | ... | @@ -4,6 +4,7 @@ services: |
4 | 4 | zookeeper: |
5 | 5 | image: confluentinc/cp-zookeeper:7.3.1 |
6 | 6 | hostname: zookeeper |
7 | + container_name: zookeeper | |
7 | 8 | ports: |
8 | 9 | - "2181:2181" |
9 | 10 | environment: |
... | ... | @@ -46,6 +47,8 @@ services: |
46 | 47 | debezium: |
47 | 48 | image: debezium/connect:latest |
48 | 49 | restart: always |
50 | + container_name: debezium | |
51 | + hostname: debezium | |
49 | 52 | depends_on: |
50 | 53 | postgres: |
51 | 54 | condition: service_healthy |
... | ... | @@ -87,7 +90,7 @@ services: |
87 | 90 | start_period: 10s |
88 | 91 | interval: 10s |
89 | 92 | retries: 20 |
90 | - test: curl --user superUser:superUser --fail --silent --insecure https://schema-registry:8081/subjects --output /dev/null || exit 1 | |
93 | + test: curl --user superUser:superUser --fail --silent --insecure http://localhost:8081/subjects --output /dev/null || exit 1 | |
91 | 94 | |
92 | 95 | rest-proxy: |
93 | 96 | image: confluentinc/cp-kafka-rest:7.3.1 |
... | ... | @@ -95,7 +98,7 @@ services: |
95 | 98 | broker: |
96 | 99 | condition: service_healthy |
97 | 100 | ports: |
98 | - - 8082:8082 | |
101 | + - "8082:8082" | |
99 | 102 | hostname: rest-proxy |
100 | 103 | container_name: rest-proxy |
101 | 104 | environment: |
... | ... | @@ -103,6 +106,20 @@ services: |
103 | 106 | KAFKA_REST_BOOTSTRAP_SERVERS: 'broker:29092' |
104 | 107 | KAFKA_REST_LISTENERS: "http://0.0.0.0:8082" |
105 | 108 | |
109 | + debezium-ui: | |
110 | + image: debezium/debezium-ui:latest | |
111 | + restart: always | |
112 | + container_name: debezium-ui | |
113 | + hostname: debezium-ui | |
114 | + depends_on: | |
115 | + debezium: | |
116 | + condition: service_healthy | |
117 | + ports: | |
118 | + - "8080:8080" | |
119 | + environment: | |
120 | + KAFKA_CONNECT_URIS: http://debezium:8083 | |
121 | + | |
122 | + | |
106 | 123 | postgres: |
107 | 124 | image: postgres:latest |
108 | 125 | restart: always | ... | ... |