Skip to content

Commit

Permalink
workflow fix (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
valexsantos committed Feb 12, 2024
1 parent 12e68d5 commit 00cd0b1
Show file tree
Hide file tree
Showing 9 changed files with 112 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Publish Gem

on:
push:
branches: [ 'release/v[0-9]*.[0-9]*.[0-9]*']
tags:
- v[0-9]*.[0-9]*.[0-9]*

jobs:
build:
Expand Down
21 changes: 21 additions & 0 deletions samples/apps/kafka-cluster.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
service:
name: kafka-cluster
network: kafka-cluster
image: confluentinc/cp-kafka:7.1.6
ports:
- 9092:9092:tcp:round_robin
volumes:
- docker://kafka_cluster_secrets:/etc/kafka/secrets
- docker://kafka_cluster_data:/var/lib/kafka/data
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: kafka-zookeeper:2181
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "true"
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka-cluster:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT
# KAFKA_CONFLUENT_SCHEMA_REGISTRY_URL: http://kafka-schema-registry
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1

16 changes: 16 additions & 0 deletions samples/apps/kafka-magic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
service:
name: kafka-magic
network: kafka-cluster
ports:
- 80:80:http:round_robin
image: digitsy/kafka-magic
environment:
KMAGIC_ALLOW_TOPIC_DELETE: "true"
KMAGIC_ALLOW_SCHEMA_DELETE: "true"
KMAGIC_CONFIG_STORE_TYPE: "file"
KMAGIC_CONFIG_STORE_CONNECTION: "Data Source=/config/KafkaMagicConfig.db;"
KMAGIC_CONFIG_ENCRYPTION_KEY: "123456"
volumes:
- docker://kafka_magic_config:/config

15 changes: 15 additions & 0 deletions samples/apps/kafka-zookeeper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
service:
name: kafka-zookeeper
image: confluentinc/cp-zookeeper:7.1.6
network: kafka-cluster
ports:
- 2181:2181:tcp:round_robin
volumes:
- docker://kafka_zookeeper_secrets:/etc/zookeeper/secrets
- docker://kafka_zookeeper_data:/var/lib/zookeeper/data
- docker://kafka_zookeeper_log:/var/lib/zookeeper/log
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000

16 changes: 16 additions & 0 deletions samples/apps/minio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
service:
name: minio
image: minio/minio
command: server /data --console-address ":9001"
network: bridge
ports:
- 9001:9001:http:round_robin
- 9000:9000:tcp:round_robin
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
volumes:
#- docker://minio_data:/data
- /tmp/minio_data:/data

9 changes: 9 additions & 0 deletions samples/apps/mongo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
service:
name: mongo
image: mongo:4.0
command: "--smallfiles"
network: bridge
ports:
- 27017:27017:tcp:round_robin

13 changes: 13 additions & 0 deletions samples/apps/nexus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
service:
name: nexus
image: sonatype/nexus3
network: bridge
ports:
- 80:8081:http:round_robin
resources:
max_replicas: 1
min_replicas: 1
volumes:
- docker://nexus_data:/nexus-data

11 changes: 11 additions & 0 deletions samples/apps/redis-sentinel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
service:
name: redis-sentinel
image: bitnami/redis-sentinel:latest
network: bridge
ports:
- 26379:26379:tcp:round_robin
environment:
REDIS_MASTER_HOST: redis


9 changes: 9 additions & 0 deletions samples/apps/redis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
service:
name: redis
image: redis:4.0-alpine
network: bridge
ports:
- 6379:6379:tcp:round_robin


0 comments on commit 00cd0b1

Please sign in to comment.