docker-compose.yml 708 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
version: '2'
services:
  zoe-master:
    image: 192.168.45.252:5000/zoerepo/zoe
    ports:
      - "4950:4850"
    volumes:
      - /etc/zoe:/etc/zoe
      - /opt/zoe-workspaces:/mnt/zoe-workspaces
    command: python3 zoe-master.py --debug --swarm http://192.168.45.252:2380 --deployment-name compose
  zoe-observer:
    image: 192.168.45.252:5000/zoerepo/zoe
    command: python3 zoe-observer.py --debug --master-url http://zoe-master:4850 --swarm http://192.168.45.252:2380
    depends_on:
      - zoe-master
  zoe-web:
    image: 192.168.45.252:5000/zoerepo/zoe
    command: python3 zoe-web.py --debug --master-url http://zoe-master:4850
    ports:
      - "8080:5001"
    depends_on:
      - zoe-master