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

[QUESTION] Apply database and user creation during container build #99

Open
AngeredOne opened this issue May 17, 2021 · 0 comments
Open

Comments

@AngeredOne
Copy link

AngeredOne commented May 17, 2021

Hi there.

So, i have a Dockerfile wrapper along base Arangodb container.
I have copy simple .js file into "docker-entrypoint-initdb.d" dir. But after arango start there's no any effects.

I tryd to make some post-init actions ON DOCKER-COMPOSE!

Data of my js file:

db._createDatabase("TestDB");

Dockerfile data:

FROM arangodb:3.6

# For health_check 
RUN apk add curl

COPY MyProj/Docker/Arangodb/db_init.js /docker-entrypoint-initdb.d/init.js
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

1 participant