Create a functional, but reproducible (simple) instance of LimeSurvey in OpenShift. Complete with an NGiNX proxy server and a MariaDB backend.
Applications needed will be:
- Docker Hub or Podman Desktop
- Docker CLI ( or Podman CLI )
- Visual Studio Code or equivilent code editor
- A Docker or Quay.io ( RedHat ) account to create repositories.
Individually, the images can be built, tagged, and pushed to a repo for easy access.
- docker build -f Dockerfile -t [name] .
- docker image tag [name]:latest [repo]/[name]:[version]
- docker push [repo]/[name]:[version]
- ARG VERSION="6.5.8+240517"
- ARG USER="1014150000"
- ARG DIR="/data/limesurvey"
Update these variables as needed.
MariaDB requires a .env
file with the following values:
DB_NAME=''
DB_USER=''
DB_PASSWORD=''
DB_ROOT_PASSWORD=''
The docker-compose.yaml
file can be used to create local instances for testing. Otherwise, simply build the images as need and push them to your desired repository.