Gitlab - Argos ALM by PALO IT

add docker-compose with all services are required

parent 828c3208
version: "3.8" version: "3.8"
services: services:
postgres:
image: 'postgres:latest'
environment:
- 'POSTGRES_DB=mydatabase'
- 'POSTGRES_PASSWORD=secret'
- 'POSTGRES_USER=myuser'
ports:
- '5432:5432'
networks:
- 'postgresql'
mongo: mongo:
image: mongo:latest image: mongo:latest
platform: linux/x86_64 platform: linux/x86_64
...@@ -12,29 +23,20 @@ services: ...@@ -12,29 +23,20 @@ services:
- MONGO_INITDB_DATABASE=carrefur-database - MONGO_INITDB_DATABASE=carrefur-database
networks: networks:
- 'mongo' - 'mongo'
restart: always
zookeeper:
image: 'bitnami/zookeeper:latest'
ports:
- '2181:2181'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
networks:
- 'kafka'
kafka: kafka:
image: 'bitnami/kafka:latest' image: landoop/fast-data-dev:latest
ports:
- "9092:9092"
environment: environment:
- KAFKA_BROKER_ID=1 ADV_HOST: '127.0.0.1'
- KAFKA_LISTENERS=PLAINTEXT://:9092 RUNTESTS: 0
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092 FORWARDLOGS: 0
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 SAMPLEDATA: 0
- ALLOW_PLAINTEXT_LISTENER=yes ports:
depends_on: - 2181:2181 # Zookeeper port
- zookeeper - 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: networks:
- 'kafka' - 'kafka'
...@@ -43,3 +45,5 @@ networks: ...@@ -43,3 +45,5 @@ networks:
driver: bridge driver: bridge
mongo: mongo:
driver: bridge 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