Una Community Management System Bootleg Docker
I have limited experience with Docker, PHP, Bash, and UNA. There is no doubt one might have a better solution and I would really appreciate any thoughts on improving execution and best practices.
This has only been tested with the base UNA stack as I do not have any additional modules from the App Market. I do not see forsee any limitations of functionality other than any modules requiring a reverse proxy but I reserve the right to be wrong.
Edit .env.example and make changes accordingly.
Make builder.sh executable and run the script.
chmod +x builder.sh && ./builder.sh
Add DNS entries and generate SSL Certificates if you have not already done so. The hostname for the Apache server is apache1 but you can change this to whatever you would like. (cert.pem, chain.pem, fullchain.pem, privkey.pem)
Run:
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up --build -d