Skip to content

Instantly share code, notes, and snippets.

@aschmoe
Last active August 29, 2015 14:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save aschmoe/ec29d83dc4359b348c3a to your computer and use it in GitHub Desktop.
Docker vufind 2
lamp:
image: useltmann/vufind2
ports:
- "81:80"
- "8081:8080"
- "3307:3306"
volumes:
- /home/{USER}/workspace/vufind-clean:/app
# Get docker
# http://docs.docker.com/installation/ubuntulinux/
# Get docker working without sudo ... can't remember if this is stricty necessary
# but feel like I needed it for something
# http://askubuntu.com/questions/477551/how-can-i-use-docker-without-sudo
# Get docker-compose
sudo pip install -U docker-compose
# Get vufind 2
git clone git@github.com:vufind-org/vufind.git vufind-clean
cd vufind-clean
git checkout tags/v2.2
# put the docker-compose file into to the vufind-clean folder
# edit the path to the vufind folder eg: fix {USER}
# run docker-compose
docker-compose up
# go to the container
http://localhost:81/vufind/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment