forked from virjilakrum/zkl-full-local-ipfs-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (51 loc) · 1.28 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# version: '3.8'
# services:
# ipfs-node-1:
# image: ipfs/kubo:latest
# ports:
# - "4001:4001" # swarm
# - "5001:5001" # api
# - "8080:8080" # gateway
# volumes:
# - ./ipfs/node1:/data/ipfs
# environment:
# - IPFS_PROFILE=server
# - IPFS_PATH=/data/ipfs
# restart: always
# ipfs-node-2:
# image: ipfs/kubo:latest
# ports:
# - "4002:4001"
# - "5002:5001"
# - "8081:8080"
# volumes:
# - ./ipfs/node2:/data/ipfs
# environment:
# - IPFS_PROFILE=server
# - IPFS_PATH=/data/ipfs
# restart: always
# ipfs-cluster:
# image: ipfs/ipfs-cluster:latest
# depends_on:
# - ipfs-node-1
# - ipfs-node-2
# environment:
# - CLUSTER_PEERNAME=cluster-node
# - CLUSTER_SECRET=your-secret-here
# - CLUSTER_IPFSHTTP_NODEMULTIADDRESS=/dns4/ipfs-node-1/tcp/5001
# ports:
# - "9094:9094" # HTTP API
# - "9095:9095" # Cluster IPFS proxy
# - "9096:9096" # Cluster swarm
# volumes:
# - ./ipfs/cluster:/data/ipfs-cluster
# restart: always
# nginx:
# image: nginx:alpine
# ports:
# - "80:80"
# volumes:
# - ./nginx.conf:/etc/nginx/nginx.conf:ro
# depends_on:
# - ipfs-node-1
# - ipfs-node-2