version: '2' services: ipfs: # image: ipfs/go-ipfs build: ./go-ipfs hostname: ipfs container_name: ipfs restart: always entrypoint: - /bin/sh - /entrypoint.sh volumes: - ./data-ipfs:/data/ipfs # - ./temp:/temp # - /opt/docker/production/nms/media:/media:ro - /opt/docker/production/nginx/nginx/hls:/hls:ro - ./fanta:/fanta:ro # - /opt/docker/production/nms/media/live/streaming:/streaming:ro - ./entrypoint.sh:/entrypoint.sh:ro # - ./ipfs/ipfs:/home/node/.ipfs # - /opt/docker/production/webdav/webdav/public/ale/Elektor:/Elektor:ro expose: - 5001 - 8080 - 8081 ports: - "1024:1024" - "4001:4001" - "4001:4001/udp" networks: mynet: ipv4_address: 172.105.0.101 # ipfs-cluster: # image: ipfs/ipfs-cluster ## build: ./ipfs-cluster # hostname: ipfs-cluster # container_name: ipfs-cluster # restart: always ## entrypoint: ## - ./ipfs-cluster-service ## - daemon # volumes: # - ./ipfs-cluster:/data/ipfs-cluster ## - ./ipfs-cluster/cluster:/home/node/.ipfs-cluster # depends_on: # - ipfs # expose: # - 9095 # ports: # - "9094:9094" # - "9096:9096" # networks: # mynet: # ipv4_address: 172.105.0.102 # jsipfs: # build: ./jsipfs # hostname: jsipfs # container_name: jsipfs # restart: always # entrypoint: # - jsipfs # - daemon # volumes: # - ./jsipfs/jsipfs:/home/node/.jsipfs # expose: # - 4002 # - 4003 # - 5001 # - 9090 # networks: # mynet: # ipv4_address: 172.5.0.103 # libp2p-ipfs: # build: ./libp2p # hostname: libp2p-ipfs # container_name: libp2p-ipfs # restart: always # entrypoint: # - node_modules/.bin/star-signal # - --port=9090 # - --host=172.105.0.102 # expose: # - 9090 # networks: # mynet: # ipv4_address: 172.105.0.102 networks: mynet: driver: bridge ipam: config: - subnet: 172.105.0.0/24