JavaServer Faces App
JavaServer Faces App
(Sometimes went off)
wget https://git.io/JfKDM
docker-compose up
git clone https://github.com/luqmansen/jsf-ugly.git && cd jsf-ugly
make build
make run
App will running on localhost:8080
apt install docker.io
wget https://git.io/JfKDM
*) Make sure no app running on port 80 (eg. NGINX), otherwise you have to setup your reverse proxy
docker-compose up
Note: This deployment currently broken, please refer to notes 1
Image used in docker is tomcat slim version which is bare minimum tomcat.
If you want to full tomcat version, use non slim version but make sure
use version that support jdk 11.
The configuration for tomcat manager available at ./conf
folder
When running docker with docker run
, env PORT
is mandatory, because the container should be able to run flexibly on environment that have dynamic port assignment (like Heroku)
There is auto-push-image task on github action for every commit to Dockerhub and Heroku container registry with the credential specified as Github secrets.
pom.xml
make build
command.