The LimeSurvey installed on CentOS 7
10K+
The LimeSurvey installed on CentOS 7. Will start directly in install mode.
docker pull openmedicus/limesurvey
docker run --name=limesurveysetup -p 8080:80 -d openmedicus/limesurvey
Go to http://localhost:8080/limesurvey and setup.
docker stop limesurveysetup
docker commit limesurveysetup limesurvey
docker rm limesurveysetup
Finally start the docker
docker run --name=limesurvey -p 8080:80 -d limesurvey
mkdir /www/limesurvey/
touch /www/limesurvey/config.php
SELinux:
chcon -Rt svirt_sandbox_file_t /www/
docker run --name=limesurvey -p 8080:80 -v /www/limesurvey/config.php:/var/www/html/application/config/config.php:rw -d openmedicus/limesurvey
/etc/systemd/system/docker-limesurvey.service
[Unit]
Description=LimeSurvey container
Requires=docker.service
After=docker.service
[Service]
Restart=always
ExecStart=/usr/bin/docker run --name=limesurvey -p 8080:80 -v /www/limesurvey/config.php:/var/www/html/application/config/config.php:rw openmedicus/limesurvey
ExecStop=/usr/bin/docker stop -t 2 limesurvey
ExecStopPost=/usr/bin/docker rm -f limesurvey
[Install]
WantedBy=default.target
Now reload systemd, enable and start
# systemctl daemon-reload
# systemctl enable docker-limesurvey
# systemctl start docker-limesurvey
Content type
Image
Digest
Size
360.9 MB
Last updated
over 9 years ago
docker pull openmedicus/limesurvey