This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
31 lines (30 loc) Β· 1.38 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "2"
services:
forms:
image: kimbtechnologies/kimb_forms_project:latest
container_name: forms
restart: always
ports:
- "8080:80"
volumes:
- ./data/:/php-code/data/ # save polls and submissions on host
# - ./CookieBanner.php:/php-code/core/external/CookieBanner.php:ro # link external CookieBanner.php
environment:
- CONF_site_hosturl=http://localhost:8080
- CONF_site_pagename=KIMB-Forms-Project Docker
- CONF_site_footercontent=Docker Image
- CONF_captcha_poll=false
- CONF_captcha_new=true
- CONF_texts_enablePoll=true
- CONF_texts_enableNew=true
- CONF_texts_textPoll=Ich bin mit den Datenschutzrichtlinien ... einverstanden!
- CONF_texts_textNew=Ich bin mit den AGB des Anbieters einverstanden!
- CONF_cookiebanner=false
- [email protected] # admin mail, get mail when a poll is created
- CONF_submissions_enabled=true # query for poll submissions by mail
- CONF_submissions_captcha=true # query needs captcha
- CONF_submissions_mailValidate=^\S+@\S+\.\S+$$ # query mail address validation
- SMTP_SERVER= # the mail server host (used for admin notification mails)
- SMTP_PORT= # the port to deliver mails (587 for starttls or 465 for tls)
- SMTP_USER= # the username for the mail server
- SMTP_PASS= # the password for the mail server