arangodb-docker icon indicating copy to clipboard operation
arangodb-docker copied to clipboard

[QUESTION] Apply database and user creation during container build

Open AngeredOne opened this issue 4 years ago • 1 comments

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

AngeredOne avatar May 17 '21 11:05 AngeredOne

Update ?

oranmizrahi avatar Jul 15 '25 06:07 oranmizrahi