GMOD / docker-apollo

:whale: Apollo 2.X Docker Image
GNU General Public License v3.0
10 stars 12 forks source link

Preparing files for Apollo #36

Closed mictadlo closed 5 years ago

mictadlo commented 5 years ago

Hi, How is it possible to prepare files for Apollo when using Apollo inside a docker container?

Thank you in advance,

Michal

nathandunn commented 5 years ago

I think so . . . depends on the file you are talking about:

docker run -it -v /jbrowse/root/directory/:/data -v postgres-data:/var/lib/postgresql -p 8888:8080 gmod/apollo:latest

Anything in /jbrowse/root/directory will be visible as ‘/data’ to the server. Note, to keep the database persistent you have to use the postgres-data link below.

Otherwise you can set most of the properties from the command-line as below that correlate with what is in the apollo-config.groovy.

docker run -e "env_var_name=another_value" alpine env Was that what you were looking to change?

I tried to clarify it a little bit here: https://github.com/GMOD/docker-apollo/blob/master/README.md https://github.com/GMOD/docker-apollo/blob/master/README.md

Nathan

On Feb 20, 2019, at 12:41 AM, Michał T. Lorenc notifications@github.com wrote:

Hi, How is it possible to prepare files for Apollo when using Apollo inside a docker container?

Thank you in advance,

Michal

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GMOD/docker-apollo/issues/36, or mute the thread https://github.com/notifications/unsubscribe-auth/AAt2qtAAUgQg_VSApGr6jgTyBxaTySEnks5vPQo1gaJpZM4bEsFZ.