Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

problem with the docker-compose #230

Open
adrien-barret opened this issue Jan 8, 2018 · 3 comments
Open

problem with the docker-compose #230

adrien-barret opened this issue Jan 8, 2018 · 3 comments

Comments

@adrien-barret
Copy link

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

@eddie4
Copy link

eddie4 commented Jan 9, 2018

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

@adrien-barret
Copy link
Author

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 ;)

@eddie4
Copy link

eddie4 commented Jan 15, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants