diff --git a/README.md b/README.md index 46ff4dc..1788828 100644 --- a/README.md +++ b/README.md @@ -363,6 +363,7 @@ A collection of delicious docker recipes. - [x] mailgun/kafka-pixy - [x] devopsfaith/krakend - [x] heartexlabs/label-studio +- [x] martialblog/limesurvey - [x] mailhog/mailhog - [x] tootsuite/mastodon - [x] getmeili/meilisearch :mag: diff --git a/healthchecks/docker-compose.yml b/healthchecks/docker-compose.yml index e688097..698435a 100644 --- a/healthchecks/docker-compose.yml +++ b/healthchecks/docker-compose.yml @@ -8,5 +8,6 @@ services: - ./data:/data environment: - DEBUG=False + - DB=sqlite - DB_NAME=/data/hc.db restart: unless-stopped diff --git a/limesurvey/README.md b/limesurvey/README.md new file mode 100644 index 0000000..204558d --- /dev/null +++ b/limesurvey/README.md @@ -0,0 +1,8 @@ +limesurvey +========== + +[LimeSurvey][1] is a free and open source on-line statistical survey web app written +in PHP based on a MySQL, SQLite, PostgreSQL or MSSQL database, distributed +under the GNU General Public License. + +[1]: https://www.limesurvey.org/ diff --git a/limesurvey/docker-compose.yml b/limesurvey/docker-compose.yml new file mode 100644 index 0000000..6a97066 --- /dev/null +++ b/limesurvey/docker-compose.yml @@ -0,0 +1,29 @@ +version: "3.8" + +services: + + limesurvey: + image: martialblog/limesurvey + ports: + - "8080:8080" + volumes: + - ./data/surveys:/var/www/html/upload/surveys + environment: + - "DB_TYPE=pgsql" + - "DB_PORT=5432" + - "DB_HOST=postgres" + - "DB_PASSWORD=limesurvey" + - "ADMIN_PASSWORD=admin" + depends_on: + - postgres + restart: unless-stopped + + postgres: + image: postgres:14-alpine + volumes: + - ./data/postgres:/var/lib/postgresql/data + environment: + - "POSTGRES_DB=limesurvey" + - "POSTGRES_USER=limesurvey" + - "POSTGRES_PASSWORD=limesurvey" + restart: unless-stopped