I plan to dockerize a LAMP Stack for hosting own php code. Using the build-in lamp doesn’t work since the code I’m using relys on PHP 7.1 and UCS only supports 7.0.
My approach is to use this docker image: https://github.com/mattrayner/docker-lamp
And run it with docker run -i -t -p "80:80" -v ${PWD}/app:/app -v ${PWD}/mysql:/var/lib/mysql --restart always mattrayner/lamp:latest
But where do i config the url like ucs.my.intranet/lamp
?
And how to register this to be displayed in ucs.my.intranet/univention/portal
?
To have a real UCS App for a lamp stack would be great, especially with a UI in univention portal for setting the php version, php libraries like gd-lib and changing the php.ini. But after reading the docs I don’t feel like this is something I could do easily.