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

26 lines
603 B
YAML
Raw Normal View History

version: "3.9"
services:
kafka-pipe:
image: openjdk:11-jre-buster
container_name: "kafka-pipe"
build:
dockerfile: "kafka-pipe.Dockerfile"
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:
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