Skip to content

nausicaan/limesurvey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LimeSurvey Instance

Create a functional, but reproducible (simple) instance of LimeSurvey in OpenShift. Complete with an NGiNX proxy server and a MariaDB backend.

Stack

Prerequisites

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.

Build

Individually, the images can be built, tagged, and pushed to a repo for easy access.

  1. docker build -f Dockerfile -t [name] .
  2. docker image tag [name]:latest [repo]/[name]:[version]
  3. docker push [repo]/[name]:[version]

Runtime variables

  • ARG VERSION="6.5.8+240517"
  • ARG USER="1014150000"
  • ARG DIR="/data/limesurvey"

Update these variables as needed.

Extras

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.