Last active
August 29, 2015 14:21
-
-
Save aschmoe/ec29d83dc4359b348c3a to your computer and use it in GitHub Desktop.
Docker vufind 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lamp: | |
image: useltmann/vufind2 | |
ports: | |
- "81:80" | |
- "8081:8080" | |
- "3307:3306" | |
volumes: | |
- /home/{USER}/workspace/vufind-clean:/app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 [email protected]: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