vault-ui icon indicating copy to clipboard operation
vault-ui copied to clipboard

problem with the docker-compose

Open adrien-barret opened this issue 6 years ago • 3 comments

Hi,

trying to use the docker-compose, here is my outpout : Ubuntu 16.04 new workspace

[BABEL] Note: The code generator has deoptimised the styling of "/app/node_modules/lodash/lodash.js" as it exceeds the max of "500KB". Killed info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 137. ERROR: Service 'webpack' failed to build: The command '/bin/sh -c yarn install --pure-lockfile --silent && yarn run build-web && yarn install --silent --production && yarn check --verify-tree --production && yarn global add nodemon && yarn cache clean && rm -f /root/.electron/*' returned a non-zero code: 1

adrien-barret avatar Jan 08 '18 16:01 adrien-barret

I had the same issue. It is connected to not having the correct dependencies. Am running Ubuntu and this fixed it for me:

btw this also creates a portainer container on port 9000

apt install curl -y
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
apt update
apt install yarn docker-compose nodejs
docker volume create portainer_data
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
git clone https://github.com/djenriquez/vault-ui
cd vault-ui
./run-docker-compose-dev

eddie4 avatar Jan 09 '18 14:01 eddie4

it need to be into the docker, I don' t understand why it depend on my depedency. If it' s not portable and flexible, it' s not a docker solution ;)

adrien-barret avatar Jan 14 '18 19:01 adrien-barret

You have a point, this is just how I fixed to mess around with vault.

eddie4 avatar Jan 15 '18 14:01 eddie4