docker-compose.yml 229 Bytes
Newer Older
Wang Yiren's avatar
Wang Yiren committed
1 2 3 4 5 6 7 8 9 10 11 12 13
version: "3"
services:
  router1:
    build: .
    volumes:
      - "./:/root"
    command: /root/confs/setup.sh R1
    privileged: true
  router2:
    build: .
    volumes:
      - "./confs:/root"
    command: /root/setup.sh R2