Kafkatorio/modules/infra-kafka-pipe/src/docker-compose.yml

34 lines
859 B
YAML

version: "3.9"
services:
kafka-pipe:
image: dev-adamko/kafka-pipe/${KAFKATORIO_VERSION}
container_name: "kafka-pipe"
build:
dockerfile: "kafka-pipe.Dockerfile"
context: "."
restart: "unless-stopped"
privileged: true
networks:
- "kafkatorio-nw"
environment:
KAFKATORIO_VERSION: $KAFKATORIO_VERSION
# message IDs
INSTANCE_ID: "test-server"
# name of the docker container
FACTORIO_SERVER_CONTAINER_NAME: "factorio-server"
KAFKA_HOST: "kafka:29092"
volumes:
# Windows (requires privileged/root)
- "//var/run/docker.sock:/var/run/docker.sock"
# Rootless:
# - "/run/user/1000/docker.sock:/var/run/docker.sock"
# Unix?
# - "/var/run/docker.sock:/var/run/docker.sock"
networks:
kafkatorio-nw:
name: "kafkatorio-nw"
external: true