Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making IPFS gateway available on port 8888 locally #719

Merged
merged 3 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
backends: [
{ env: stg, url: 'https://api.stg.labdao.xyz', gateway: 'http://bacalhau.stg.labdao.xyz:8080/ipfs/'},
{ env: prod, url: 'https://api.prod.labdao.xyz', gateway: 'http://bacalhau.prod.labdao.xyz:8080/ipfs/'},
{ env: local, url: 'http://localhost:8080', gateway: 'http://bacalhau.labdao.xyz:8080/ipfs/'}
{ env: local, url: 'http://localhost:8080', gateway: 'http://localhost:8888/ipfs/'}
]
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
LIBP2P_FORCE_PNET: "1"
IPFS_DEBUG: "true"
IPFS_LOGGING: "debug"
IPFS_GATEWAY_PORT: "8888"
volumes:
- privateipfs:/data/ipfs

Expand Down
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ services:
args:
NEXT_PUBLIC_PRIVY_APP_ID: $NEXT_PUBLIC_PRIVY_APP_ID
NEXT_PUBLIC_BACKEND_URL: ${NEXT_PUBLIC_BACKEND_URL:-http://localhost:8080}
NEXT_PUBLIC_IPFS_GATEWAY_ENDPOINT: ${NEXT_PUBLIC_IPFS_GATEWAY_ENDPOINT:-http://localhost:8080/ipfs/}
NEXT_PUBLIC_IPFS_GATEWAY_ENDPOINT: ${NEXT_PUBLIC_IPFS_GATEWAY_ENDPOINT:-http://localhost:8888/ipfs/}
environment:
NODE_ENV: 'production'
ports:
Expand Down Expand Up @@ -175,11 +175,13 @@ services:
hostname: ipfs
environment:
IPFS_LOGGING: "debug"
IPFS_GATEWAY_PORT: "8888"
volumes:
- ipfs:/data/ipfs
ports:
- 4001:4001
- 5001:5001
- 8888:8888

volumes:
requestervolume:
Expand Down
Loading