1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

add limesurvey

This commit is contained in:
kev 2022-07-11 16:49:44 +08:00
parent 51f35c3c24
commit 35390c3d5c
4 changed files with 39 additions and 0 deletions

View File

@ -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:

View File

@ -8,5 +8,6 @@ services:
- ./data:/data
environment:
- DEBUG=False
- DB=sqlite
- DB_NAME=/data/hc.db
restart: unless-stopped

8
limesurvey/README.md Normal file
View File

@ -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/

View File

@ -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