version: "2" services: vss: container_name: vss-master image: visionect/visionect-server-v3 depends_on: - vdata privileged: true cap_add: - MKNOD - SYS_ADMIN devices: - "/dev/fuse:/dev/fuse" restart: always links: - "postgres_db:postgres" ports: - 8081:8081 # admin browser - 11113:11113 - 32991:32991 # GW RPC - 11114:11114 #STORAGE - 11115:11115 #NM - 32989:32989 #NM RPC - 5559:5559 # broker 1 - 5560:5560 # broker 2 environment: - DB2_1_PORT_5432_TCP_ADDR=postgres - DB2_1_PORT_5432_TCP_USER=visionect - DB2_1_PORT_5432_TCP_PASS=visionect - DB2_1_PORT_5432_TCP_DB=koala volumes: - /dev/shm:/dev/shm volumes_from: - vdata vdata: container_name: vdata image: visionect/visionect-server-v3 entrypoint: /bin/true postgres_db: container_name: pdb image: postgres:9.6 restart: always ports: - 5432:5432 environment: - POSTGRES_USER=visionect - POSTGRES_DB=koala - POSTGRES_PASSWORD=visionect volumes: - ./pgdata:/var/lib/postgresql/data