A simple docker container for the lapis server. So what's the purpose of this lovely docker container? If you don't want to do a lapis install on your machine, or if you want to get an install up and running without much hassle, or if you just want to use my cough brilliant cough lapis project builder, then this docker container is for you!
If you want to use docker image database for the build, then simply run docker pull
docker pull abaez/lapis
You're done! Go to Usage for how to use.
If you want to build the container for yourself then follow the steps:
git clone bb:abaez/docker-lapis docker-lapis
If you want to just build the container then follow the following steps, else follow using docker-compose directly for steps on how to use the build directly from source.
build.sh. cd docker-lapis
./build.sh
You're done! Go to Usage for how to use.
docker-compose.yml line 6 to your webapp source location.
- /data/web/best_website_ever:/appdocker-compose up and you good to go with your build. cd docker-lapis
docker-compose up
You're done! Go to Usage for how to use.
A quick note before continuing. You can pick the lapis web environment of your project. By default, the environment is set to development on CMD. Meaning, if you run docker run abaez/lapis you will be running with the full execution similar to:
docker run --expose "80" --expose "8080" abaez/docker-lapis server development
1. or 2.If using the 1. or 2. installation setup you can use one of the two setups:
docker run \
-p 80:80 \
-v <your webapp src>:/app \
abaez/docker-lapis \
server production
3.If you are using 3. setup, then you shouldn't be needing my help here. However, I am kind, so all you have to do is make sure your lapis src is in the location you put on the docker-compose.yml. Finally, run docker-compose up and you are done.
The MIT License (MIT)
Copyright (c) 2016 Alejandro Baez
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Content type
Image
Digest
sha256:31aa05130…
Size
113.5 MB
Last updated
about 9 years ago
docker pull abaez/lapis