Skip to content

Commit

Permalink
KH-548: Update the restart policy for some services (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke authored Jun 27, 2024
1 parent 205bf5e commit 9a00d39
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docker/docker-compose-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
mysql:
networks:
ozone-analytics:
restart: on-failure
restart: unless-stopped
image: mariadb:10.3
command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci --log-bin --binlog-format=ROW --server-id=0 --max_connections=1024"
environment:
Expand All @@ -20,7 +20,7 @@ services:
postgresql:
networks:
ozone-analytics:
restart: on-failure
restart: unless-stopped
image: postgres:13
command: postgres -c wal_level=logical -c max_wal_senders=10 -c max_replication_slots=10
healthcheck:
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose-drill.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: "3.8"
services:
drill:
restart: unless-stopped
networks:
ozone-analytics:
image: apache/drill:1.21.1-openjdk-11
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-kowl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
networks:
- ozone-analytics
container_name: "kowl"
restart: on-failure
restart: unless-stopped
entrypoint: /bin/sh
command: -c "echo \"$$KOWL_CONFIG_FILE\" > /tmp/config.yml; /app/kowl"
ports:
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose-minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ services:
ACCESS_KEY: ${MINIO_ROOT_USER}
ACCESS_SECRET: ${MINIO_ROOT_PASSWORD}
DATA_BUCKET: analytics
restart: unless-stopped


volumes:
Expand Down
8 changes: 4 additions & 4 deletions docker/docker-compose-streaming-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
zookeeper:
networks:
ozone-analytics:
restart: on-failure
restart: unless-stopped
image: debezium/zookeeper:${DEBEZIUM_VERSION}
ports:
- 2181:2181
Expand All @@ -15,7 +15,7 @@ services:
labels:
kompose.service.type: clusterip
kafka:
restart: on-failure
restart: unless-stopped
image: debezium/kafka:${DEBEZIUM_VERSION}
networks:
ozone-analytics:
Expand Down Expand Up @@ -60,7 +60,7 @@ services:
depends_on:
- kafka
connect:
restart: on-failure
restart: unless-stopped
image: debezium/connect:${DEBEZIUM_VERSION}
networks:
ozone-analytics:
Expand Down Expand Up @@ -115,7 +115,7 @@ services:
jobmanager:
networks:
ozone-analytics:
restart: on-failure
restart: unless-stopped
image: mekomsolutions/ozone-flink-jobs
ports:
- "8084:8081"
Expand Down

0 comments on commit 9a00d39

Please sign in to comment.