github.com/metacurrency/holochain@v0.1.0-alpha-26.0.20200915073418-5c83169c9b5b/docker/app.docker/docker-compose.with.bs.syncedHCMultiNode.yml (about) 1 version: '3' 2 3 services: 4 service.chain: 5 build: 6 context: . 7 dockerfile: runtime/docker/Dockerfile.app.seedService 8 environment: 9 - LOCAL_USER_ID 10 volumes: 11 - ./runtime/chain.seeded:/chain.seeded 12 - ./runtime/Scripts:/Scripts 13 - ./runtime:/runtime 14 command: /Scripts/syncedMultiNode.containers.scripts/pre.up 15 bs: 16 build: 17 context: . 18 dockerfile: runtime/docker/Dockerfile.app.bsService 19 ports: 20 - "3142" 21 environment: 22 - LOCAL_USER_ID 23 volumes: 24 - ./runtime/chain.seeded:/chain.seeded 25 - ./runtime/Scripts:/Scripts 26 - ./runtime:/runtime 27 depends_on: [service.chain] 28 command: /bin/sh -c "/Scripts/syncedMultiNode.containers.scripts/bs.start" 29 hc: 30 build: 31 context: . 32 dockerfile: runtime/docker/Dockerfile.app.syncedHCMultiNode 33 ports: 34 - "3141" 35 - "6283" 36 environment: 37 - LOCAL_USER_ID 38 volumes: 39 - ./runtime/chain.seeded:/chain.seeded 40 - ./runtime/Scripts:/Scripts 41 - ./runtime:/runtime 42 command: /Scripts/syncedMultiNode.containers.scripts/hc.sync 43 #command: /bin/sh 44 depends_on: [bs] 45 hc.post.up: 46 build: 47 context: . 48 dockerfile: runtime/docker/Dockerfile.app.syncedHCMultiNode.releaseSyncService 49 environment: 50 - LOCAL_USER_ID 51 volumes: 52 - ./runtime/chain.seeded:/chain.seeded 53 - ./runtime/Scripts:/Scripts 54 - ./runtime:/runtime 55 command: /Scripts/syncedMultiNode.containers.scripts/post.up 56 depends_on: [hc] 57 external.start.event: 58 build: 59 context: . 60 dockerfile: runtime/docker/Dockerfile.BASE 61 environment: 62 - LOCAL_USER_ID 63 volumes: 64 - ./runtime:/runtime 65 command: [ "rm", "/runtime/cluster/sync/externalStartEvent" ] 66 depends_on: [hc.post.up] 67 68 # volumes: 69 # seed: