docker-compose.yml 631 Bytes
Newer Older
Furkan Mustafa's avatar
Furkan Mustafa committed
1
# This docker-compose is for development environment
2 3 4 5 6 7 8 9 10
version: '2'
services:
  beirand:
    image: dkr.rsnc.io/poc/beiran/daemon:dev
    build: .
    privileged: true
    volumes:
     - /var/run/docker.sock:/var/run/docker.sock
     - /var/lib/docker:/var/lib/docker
11 12
     - ./beiran:/opt/beiran/beiran:ro
     - ./beiran_cli:/opt/beiran/beiran_cli:ro
13
     - ./plugins:/opt/beiran/plugins:ro
14
     - /etc/beiran
15 16
    network_mode: host
    environment:
17
      - BEIRAN_DISCOVERY_METHOD=zeroconf
18
      - BEIRAN_LISTEN_ADDRESS=0.0.0.0
19
      - BEIRAN_DISCOVERY_DNS_CONFIG='discovery_service_address=beirand'
20
      - BEIRAN_LOG_LEVEL=INFO