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

/init-scripts/install-service.sh is ran to early #55

Open
solisoft opened this issue Aug 30, 2018 · 1 comment
Open

/init-scripts/install-service.sh is ran to early #55

solisoft opened this issue Aug 30, 2018 · 1 comment

Comments

@solisoft
Copy link

solisoft commented Aug 30, 2018

My /init-scripts/install-service.sh script fail to connect to the server ...

It only contains one line with foxx install...

Here the log:

arangodb_1  | Initializing database...Hang on...
arangodb_1  | /entrypoint.sh: running /docker-entrypoint-initdb.d/install-service.sh
arangodb_1  | Connection refused: 127.0.0.1:8529
@pluma
Copy link

pluma commented Feb 16, 2020

The problem here is that the port is different during the init phase. By default it'll be 8999 but it's exposed in an env. Try something like

foxx install /my-service-path /my-service-bundle.zip -H http://127.0.0.1:$ARANGO_INIT_PORT

This works with the current version of the images.

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

No branches or pull requests

2 participants