docker-compose.yml 772 Bytes
Newer Older
1 2
version: '2'
services:
3 4 5 6 7 8 9 10
  postgres:
    image: postgres
  gateway-socks:
    image: zoerepo/gateway-socks
    networks:
      - zoe
  zoe-api:
    image: zoerepo/zoe
11
    command: python3 zoe-api.py --debug --swarm ${SWARM_URL} --deployment-name compose --master-url tcp://zoe-master:4850 --dbuser postgres --dbhost postgres --dbname postgres
12 13 14 15
    ports:
      - "8080:5001"
    depends_on:
      - postgres
16
  zoe-master:
17
    image: zoerepo/zoe
18
    ports:
19
      - "4850:4850"
20 21 22
    volumes:
      - /etc/zoe:/etc/zoe
      - /opt/zoe-workspaces:/mnt/zoe-workspaces
23
    command: python3 zoe-master.py --debug --swarm ${SWARM_URL} --deployment-name compose --dbuser postgres --dbhost postgres --dbname postgres
24
    depends_on:
25 26 27
      - zoe-api
networks:
  zoe:
28
    driver: bridge