Gitlab - Argos ALM by PALO IT

add docker-compose with all services are required

parent 828c3208
version: "3.8"
services:
postgres:
image: 'postgres:latest'
environment:
- 'POSTGRES_DB=mydatabase'
- 'POSTGRES_PASSWORD=secret'
- 'POSTGRES_USER=myuser'
ports:
- '5432:5432'
networks:
- 'postgresql'
mongo:
image: mongo:latest
platform: linux/x86_64
......@@ -12,29 +23,20 @@ services:
- MONGO_INITDB_DATABASE=carrefur-database
networks:
- 'mongo'
restart: always
zookeeper:
image: 'bitnami/zookeeper:latest'
ports:
- '2181:2181'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
networks:
- 'kafka'
kafka:
image: 'bitnami/kafka:latest'
ports:
- "9092:9092"
image: landoop/fast-data-dev:latest
environment:
- KAFKA_BROKER_ID=1
- KAFKA_LISTENERS=PLAINTEXT://:9092
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes
depends_on:
- zookeeper
ADV_HOST: '127.0.0.1'
RUNTESTS: 0
FORWARDLOGS: 0
SAMPLEDATA: 0
ports:
- 2181:2181 # Zookeeper port
- 3030:3030 # Landoop UI port
- 8081-8083:8081-8083 # REST Proxy, Schema Registry, Kafka Connect ports
- 9581-9585:9581-9585 # JMX Ports
- 9092:9092 # Kafka Broker port
networks:
- 'kafka'
......@@ -43,3 +45,5 @@ networks:
driver: bridge
mongo:
driver: bridge
postgresql:
driver: bridge
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment