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

31 lines
780 B
YAML
Raw Normal View History

version: "3.9"
services:
kafka-pipe:
image: dev-adamko/kafka-pipe/${KAFKATORIO_VERSION}
container_name: "kafka-pipe"
build:
dockerfile: "kafka-pipe.Dockerfile"
context: "."
2021-10-24 12:28:12 +02:00
restart: "unless-stopped"
2021-10-23 23:21:31 +02:00
privileged: true
networks:
- "kafkatorio-nw"
environment:
2022-01-09 11:04:15 +01:00
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:
2021-10-23 23:08:26 +02:00
# Windows (requires privileged/root)
- "//var/run/docker.sock:/var/run/docker.sock"
2021-10-23 23:08:26 +02:00
# Unix?
# - "/var/run/docker.sock:/var/run/docker.sock"
networks:
kafkatorio-nw:
name: "kafkatorio-nw"
external: true