{"id":19225320,"url":"https://github.com/crramirez/limesurvey","last_synced_at":"2025-04-16T01:12:30.003Z","repository":{"id":19520332,"uuid":"22767442","full_name":"crramirez/limesurvey","owner":"crramirez","description":"LimeSurvey - the most popular Free Open Source Software survey tool on the web. This docker image easies LimeSurvey installation. It includes a MySQL database as well as a web server. This is the most downloaded limesurvey container, but I don't have time to maintain it anymore. I am looking for a new maintainer","archived":false,"fork":false,"pushed_at":"2020-07-01T08:22:03.000Z","size":698367,"stargazers_count":58,"open_issues_count":14,"forks_count":104,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-16T01:12:24.616Z","etag":null,"topics":["docker-compose","docker-container","hacktoberfest","limesurvey","maintainer-wanted"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/crramirez/limesurvey/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crramirez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["crramirez"]}},"created_at":"2014-08-08T18:26:40.000Z","updated_at":"2024-09-28T18:24:21.000Z","dependencies_parsed_at":"2022-08-05T04:17:26.975Z","dependency_job_id":null,"html_url":"https://github.com/crramirez/limesurvey","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crramirez%2Flimesurvey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crramirez%2Flimesurvey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crramirez%2Flimesurvey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crramirez%2Flimesurvey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crramirez","download_url":"https://codeload.github.com/crramirez/limesurvey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249178218,"owners_count":21225350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-compose","docker-container","hacktoberfest","limesurvey","maintainer-wanted"],"created_at":"2024-11-09T15:14:34.542Z","updated_at":"2025-04-16T01:12:29.988Z","avatar_url":"https://github.com/crramirez.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/crramirez"],"categories":[],"sub_categories":[],"readme":"LimeSurvey\r\n==========\r\n\r\nLimeSurvey - the most popular\r\nFree Open Source Software survey tool on the web.\r\n\r\nhttps://www.limesurvey.org/en/\r\n\r\nThis docker image easies limesurvey installation. It includes a MySQL database as well a web server.\r\n\r\n[![Try in PWD](https://raw.githubusercontent.com/play-with-docker/stacks/master/assets/images/button.png)](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/crramirez/limesurvey/master/docker-compose.yml)\r\n\r\n## Usage\r\n\r\nTo run limesurvey in 80 port just:\r\n\r\n```bash\r\ndocker pull crramirez/limesurvey:latest\r\ndocker run -d --name limesurvey -p 80:80 crramirez/limesurvey:latest\r\n```\r\n\r\nThe latest image was upgraded to limesurvey 3, to continue using limesurvey 2 use:\r\n\r\n```bash\r\ndocker pull crramirez/limesurvey:2\r\ndocker run -d --name limesurvey -p 80:80 crramirez/limesurvey:2\r\n```\r\n\r\n1. Go to a browser and type http://localhost\r\n2. Click Next until you reach the *Database configuration* screen\r\n3. Then enter the following in the field:\r\n  - **Database type** *MySQL*\r\n  - **Database location** *localhost*\r\n  - **Database user** *root*\r\n  - **Database password**\r\n  - **Database name** *limesurvey* #Or whatever you like\r\n  - **Table prefix** *lime_* #Or whatever you like\r\n\r\nYou are ready to go.\r\n\r\n### Environment variables\r\n\r\nTo run limesurvey in a different http location set the `HTTP_LOCATION` environment variable.\r\n\r\n```bash\r\ndocker run -d --name limesurvey -p 80:80 -e HTTP_LOCATION=\"surveys\" crramirez/limesurvey:latest\r\n```\r\n\r\nLimesurvey will then be available via http://localhost/surveys.\r\n\r\n## Database in volumes\r\n\r\nIf you want to preserve data in the event of a container deletion, or version upgrade, you can assign the MySQL data into a named volume:\r\n    \r\n```bash\r\ndocker volume create --name mysql\r\ndocker run -d --name limesurvey -v mysql:/var/lib/mysql -p 80:80 crramirez/limesurvey:latest\r\n```  \r\n\r\n\r\nIf you delete the container simply run again the above command. The installation page will appear again. Don't worry just put the same parameters as before and limesurvey will recognize the database.\r\n\r\n\r\n## Upload folder\r\n\r\nIf you want to preserve the uploaded files in the event of a container deletion, or version upgrade, you can assign the upload folder into a named volume:\r\n\r\n```bash\r\ndocker volume create --name upload\r\ndocker run -d --name limesurvey -v upload:/app/upload -v mysql:/var/lib/mysql -p 80:80 crramirez/limesurvey:latest\r\n```\r\n\r\n\r\nIf you delete the container simply run again the above command. The installation page will appear again. Don't worry just put the same parameters as before and limesurvey will recognize the database and the uploaded files including images.\r\n\r\n## Using Docker Compose\r\n\r\nYou can use docker compose to automate the above command if you create a file called *docker-compose.yml* and put in there the following:\r\n\r\n```yml\r\nversion: '2'\r\nservices:\r\n  limesurvey:\r\n    ports:\r\n      - \"80:80\"\r\n    volumes:\r\n      - mysql:/var/lib/mysql\r\n      - upload:/app/upload\r\n    image:\r\n      crramirez/limesurvey:latest\r\nvolumes:\r\n  mysql:\r\n  upload:\r\n```\r\n\r\nTo run:\r\n\r\n```bash\r\ndocker-compose up -d\r\n```\r\n\r\nThe [GitHub repository](https://github.com/crramirez/limesurvey) includes this [*docker-compose.yml*](https://github.com/crramirez/limesurvey/blob/master/docker-compose.yml) file which you can use to setup a basic container structure. You can add a [*docker-compose.override.yml*](https://docs.docker.com/compose/extends/#multiple-compose-files) to edit the default configuration.\r\n\r\n## Separated containers\r\n### MySQL\r\nThe repository also contains a Docker Compose configuration which builds a separate MySQL-container named [*docker-compose.mysql.yml*](https://github.com/crramirez/limesurvey/blob/master/docker-compose.mysql.yml).\r\n \r\n**Warning**: The *docker-compose.mysql.yml* contains default MySQL database credentials. It is highly recommended to change these in a production environment.\r\n\r\nTo run with a separate MySQL-container:\r\n\r\n```bash\r\nexport COMPOSE_FILE=docker-compose.mysql.yml\r\ndocker-compose up -d\r\n```\r\n    \r\n1. Go to a browser and type http://localhost\r\n2. Click Next until you reach the *Database configuration* screen\r\n3. Then enter the following in the field:\r\n  - **Database type** *MySQL*\r\n  - **Database location** *mysql*\r\n  - **Database user** *root*\r\n  - **Database password** *limesurvey*\r\n  - **Database name** *limesurvey* #Or whatever you like\r\n  - **Table prefix** *lime_* #Or whatever you like\r\n    \r\n### PostgreSQL\r\nThe repository also contains a Docker Compose configuration which builds a separate PostgreSQL-container named [*docker-compose.pgsql.yml*](https://github.com/crramirez/limesurvey/blob/master/docker-compose.pgsql.yml).\r\n \r\n**Warning**: The *docker-compose.pgsql.yml* contains default PostgreSQL database credentials. It is highly recommended to change these in a production environment.\r\n\r\nTo run with a separate PostgreSQL-container:\r\n\r\n```bash\r\nexport COMPOSE_FILE=docker-compose.pgsql.yml\r\ndocker-compose up -d\r\n```    \r\n\r\n1. Go to a browser and type http://localhost\r\n2. Click Next until you reach the *Database configuration* screen\r\n3. Then enter the following in the field:\r\n  - **Database type** *PostgreSQL*\r\n  - **Database location** *pgsql*\r\n  - **Database user** *postgres*\r\n  - **Database password** *limesurvey*\r\n  - **Database name** *limesurvey* #Or whatever you like\r\n  - **Table prefix** *lime_* #Or whatever you like\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrramirez%2Flimesurvey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrramirez%2Flimesurvey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrramirez%2Flimesurvey/lists"}