-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi,
I'm trying to integrate ganache-cli to the memento stack using a container, you can see my compose file here:
version: "3.7"
services:
redis:
container_name: memento-redis
image: redis:5.0.5-alpine
restart: always
command: ["redis-server", "--appendonly", "yes"]
volumes:
- .volumes/redis:/data
postgres:
container_name: memento-postgres
image: postgres:11.5-alpine
restart: always
environment:
- POSTGRES_USER=memento
- POSTGRES_DB=memento
- POSTGRES_PASSWORD=password
volumes:
- .volumes/postgresql:/var/lib/postgresql/data
ganache-cli:
image: trufflesuite/ganache-cli
container_name: ganache-cli
ports:
- 8545:8545
- 8546:8546
memento:
container_name: memento
image: alethio/memento:latest
restart: always
depends_on:
- redis
- postgres
ports:
- 127.0.0.1:3001:3001
- 127.0.0.1:3000:3000
environment:
- PG_PASSWORD=password
volumes:
- .volumes/memento:/config
explorer:
container_name: memento-lite-explorer
image: alethio/ethereum-lite-explorer:latest
restart: always
depends_on:
- memento
- ganache-cli
ports:
- 127.0.0.1:80:80
environment:
- APP_NODE_URL="http://127.0.0.1:8545"
volumes:
- .volumes/lite-explorer/config.json:/usr/share/nginx/html/config.json
I can't get connected memento and explorer despite i'm following the documentation.
I tried disabling the docker environment variable but it unables me to reach ganache-cli container from my local machine.
Can anyone help me?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels