You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have an issue while installing this package, I was trying to connect to my IPFS container.
Some references: Links
I am using Laravel and it is run on the docker using Laravel Sail, here is my docker-compose.yml:
# For more information: https://laravel.com/docs/sailversion: '3'services:
laravel.test:
build:
context: ./vendor/laravel/sail/runtimes/8.1dockerfile: Dockerfileargs:
WWWGROUP: '${WWWGROUP}'image: sail-8.1/appextra_hosts:
- 'host.docker.internal:host-gateway'ports:
- '${APP_PORT:-80}:80'environment:
WWWUSER: '${WWWUSER}'LARAVEL_SAIL: 1XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'volumes:
- '.:/var/www/html'networks:
- saildepends_on:
- mysqlmysql:
image: 'mysql/mysql-server:8.0'ports:
- '${FORWARD_DB_PORT:-3306}:3306'environment:
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'MYSQL_ROOT_HOST: "%"MYSQL_DATABASE: '${DB_DATABASE}'MYSQL_USER: '${DB_USERNAME}'MYSQL_PASSWORD: '${DB_PASSWORD}'MYSQL_ALLOW_EMPTY_PASSWORD: 1volumes:
- 'sail-mysql:/var/lib/mysql'
- './vendor/laravel/sail/database/mysql/create-testing-database.sh:/docker-entrypoint-initdb.d/10-create-testing-database.sh'networks:
- sailhealthcheck:
test: [ "CMD", "mysqladmin", "ping", "-p${DB_PASSWORD}" ]retries: 3timeout: 5sphpmyadmin:
image: 'phpmyadmin/phpmyadmin'links:
- mysql:mysqlports:
- '8000:80'environment:
MYSQL_USERNAME: "${DB_USERNAME}"MYSQL_ROOT_PASSWORD: "${DB_PASSWORD}"PMA_HOST: mysqlnetworks:
- sailipfs0:
container_name: ipfs0image: ipfs/go-ipfs:latestports:
# - "4001:80" # ipfs swarm - expose if needed/wanted
- "5001:5001"# ipfs api - expose if needed/wanted
- "8080:8080"# ipfs gateway - expose if needed/wantedvolumes:
- ./ipfs/ipfs0:/data/ipfsnetworks:
- sailcluster0:
container_name: cluster0image: ipfs/ipfs-cluster:latestdepends_on:
- ipfs0environment:
CLUSTER_PEERNAME: cluster0CLUSTER_SECRET: ${CLUSTER_SECRET} # From shell variable if setCLUSTER_IPFSHTTP_NODEMULTIADDRESS: /dns4/ipfs0/tcp/5001CLUSTER_CRDT_TRUSTEDPEERS: '*'# Trust all peers in ClusterCLUSTER_RESTAPI_HTTPLISTENMULTIADDRESS: /ip4/0.0.0.0/tcp/9094 # Expose APICLUSTER_MONITORPINGINTERVAL: 2s# Speed up peer discoveryports:
# Open API port (allows ipfs-cluster-ctl usage on host)
- "127.0.0.1:9094:9094"# The cluster swarm port would need to be exposed if this container# was to connect to cluster peers on other hosts.# But this is just a testing cluster.# - "9096:9096" # Cluster IPFS Proxy endpointvolumes:
- ./ipfs/cluster0:/data/ipfs-clusternetworks:
- sailipfs1:
container_name: ipfs1image: ipfs/go-ipfs:latestvolumes:
- ./ipfs/ipfs1:/data/ipfsnetworks:
- sailcluster1:
container_name: cluster1image: ipfs/ipfs-cluster:latestdepends_on:
- ipfs1environment:
CLUSTER_PEERNAME: cluster1CLUSTER_SECRET: ${CLUSTER_SECRET}CLUSTER_IPFSHTTP_NODEMULTIADDRESS: /dns4/ipfs1/tcp/5001CLUSTER_CRDT_TRUSTEDPEERS: '*'CLUSTER_MONITORPINGINTERVAL: 2s# Speed up peer discoveryvolumes:
- ./ipfs/cluster1:/data/ipfs-clusternetworks:
- sailipfs2:
container_name: ipfs2image: ipfs/go-ipfs:latestvolumes:
- ./ipfs/ipfs2:/data/ipfsnetworks:
- sailcluster2:
container_name: cluster2image: ipfs/ipfs-cluster:latestdepends_on:
- ipfs2environment:
CLUSTER_PEERNAME: cluster2CLUSTER_SECRET: ${CLUSTER_SECRET}CLUSTER_IPFSHTTP_NODEMULTIADDRESS: /dns4/ipfs2/tcp/5001CLUSTER_CRDT_TRUSTEDPEERS: '*'CLUSTER_MONITORPINGINTERVAL: 2s# Speed up peer discoveryvolumes:
- ./ipfs/cluster2:/data/ipfs-clusternetworks:
- sailnetworks:
sail:
driver: bridgevolumes:
sail-mysql:
driver: local
Error message:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires rootsoft/laravel-ipfs ^0.0.1 -> satisfiable by rootsoft/laravel-ipfs[0.0.1].
- rootsoft/laravel-ipfs 0.0.1 requires league/flysystem ^1.1.3 -> found league/flysystem[1.1.3, ..., 1.x-dev] b
ut the package is fixed to 3.0.21 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Have tried delete the vendor folder and install this package first, another error message come out:
If you are running composer install or composer update add --ignore-platform-reqs behind the command
For exp: composer install --ignore-platform-reqs
I hope this can help you
Hi, I have an issue while installing this package, I was trying to connect to my IPFS container.
Some references: Links
I am using Laravel and it is run on the docker using Laravel Sail, here is my
docker-compose.yml
:Error message:
Have tried delete the vendor folder and install this package first, another error message come out:
My
composer.json
:Do anyone face the same problem like me? Please tell me if you know anything, thank you.
The text was updated successfully, but these errors were encountered: