Skip to content

Commit

Permalink
Set-up IPFS node
Browse files Browse the repository at this point in the history
  • Loading branch information
physikerwelt authored Aug 26, 2024
1 parent f57f735 commit 326de8d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docker-compose-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,31 @@ services:
- traefik.http.routers.uptime.entrypoints=websecure
- traefik.http.routers.uptime.tls.certResolver=le

# see https://github.com/ipfs/kubo/blob/master/docker-compose.yaml
ipfs:
image: ipfs/kubo
restart: unless-stopped
ports:
- 4001:4001/tcp
- 4001:4001/udp
volumes:
- ipfs-staging:/export
- ipfs-data:/data/ipfs
environment:
- IPFS_PROFILE=server
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.http.routers.kubo-docker.rule=Host(`ipfs.${WIKIBASE_HOST}`)
- traefik.http.routers.kubo-docker.entrypoints=websecure
- traefik.http.routers.kubo-docker.tls.certResolver=le
- traefik.http.routers.kubo-rpc-docker.middlewares=auth
- traefik.http.routers.kubo-rpc-docker.rule=Host(`ipfs-admin.${WIKIBASE_HOST}`)
- traefik.http.routers.kubo-rpc-docker.entrypoints=websecure
- traefik.http.routers.kubo-rpc-docker.tls.certResolver=le
- traefik.http.services.kubo-docker.loadbalancer.server.port=8080
- traefik.http.services.kubo-rpc-docker.loadbalancer.server.port=5001


volumes:
backend-logs:
backup-logs:
Expand All @@ -432,3 +457,5 @@ volumes:
prometheus_data:
provider-logs:
uptime-kuma:
ipfs-staging: # IPFS data on /export cf https://docs.ipfs.tech/install/run-ipfs-inside-docker/#set-up
ipfs-data: # IPFS data on /data/ipfs

1 comment on commit 326de8d

@JeroenDeDauw
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks cool! What are you storing on IPFS?

Please sign in to comment.