This is the repository for docker joaofidalgo/liferay automated builds
docker run -it -p 8080:8080 joaofidalgo/liferay:6.2-ce-ga6
If you want to deploy your applications your config files, this image offers an extension point at the cfg folder.
- Create your Dockerfile using joaofidalgo/liferay as the base image
- Add your WAR files under the folder "deploy"
- Add your global libraries under the folder "lib"
- Add your scripts under the folder "bin"
- Build and run your image using docker
Using docker-compose
docker-compose up
Using vagrant
vagrant up (requires vagrant-docker-compose plugin)
- Install vagrant-proxyconf plugin
- Change the Vagrantfile accordingly
Vagrant.configure("2") do |config|
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://proxy.example.com:8080"
config.proxy.https = "http://proxy.example.com:8080"
config.proxy.no_proxy = "localhost,127.0.0.1,.example.com"
end
# ...
end