Skip to content

Instantly share code, notes, and snippets.

@jeanatcismet
Last active April 5, 2016 15:14
Show Gist options
  • Save jeanatcismet/451b8c4933c2c378de944eb90ecf357e to your computer and use it in GitHub Desktop.
Save jeanatcismet/451b8c4933c2c378de944eb90ecf357e to your computer and use it in GitHub Desktop.
CidsRef build and run instructions

1) Installation of Docker

  • Install docker.io and docker-compose: sudo apt-get install docker.io docker-compose.

2) Preparation of the container data

  • Download the zip file of this gist => CidsRef container-data. Unzip it and move it to a location of your choice.
  • Add your cids_reference.sql to the container-data directory.
  • Edit YOUR_USERNAME and YOUR_CRYPTED_PASSWORD in settings.xml

3) Build of the docker images

  • Download the zip file of this gist => CidsRef Dockerfiles. Unzip it and cd into the unzipped directory.
  • Make build_all.sh executable and execute it: chmod +x build_all.sh && ./build_all.sh.
  • Grab some coffee (this step will take a while) and take a look at docker-compose.yml => check that the volumes-paths matches to your container-data directory.

4) Start/Stop the containers

  • Run the containers (will take a while the first time): docker-compose up (-d).
  • If the containers has been started with the -d-flag, stop the containers with docker-compose stop, else type ctrl+c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment