Skip to content

Commit

Permalink
update Limesurvey to 6.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzl committed Oct 28, 2023
1 parent e90871c commit 788a78a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions limesurvey/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ RUN mkdir -p /var/www /run/php
WORKDIR /var/www

# Get download URL here: https://community.limesurvey.org/downloads/
ARG LIMESURVEY_RELEASE=https://download.limesurvey.org/latest-master/limesurvey6.2.7+230918.zip
ARG LIMESURVEY_RELEASE=https://download.limesurvey.org/latest-master/limesurvey6.3.1+231023.zip
RUN wget $LIMESURVEY_RELEASE -O limesurvey.zip
RUN unzip limesurvey.zip
RUN rm -rf limesurvey/upload

RUN mkdir -p /app/config /app/upload
RUN mkdir -p /app/config /app/upload /opt/log/
RUN touch /opt/log/limesurvey.log.slow
RUN ln -sf /app/config/config.php /var/www/limesurvey/application/config/config.php
RUN ln -sf /app/config/security.php /var/www/limesurvey/application/config/security.php
RUN ln -sf /app/upload /var/www/limesurvey/upload
RUN chmod o+w /var/www/limesurvey/application/config

COPY nginx.conf /etc/nginx/sites-enabled/limesurvey.conf
COPY nginx.conf /etc/nginx/sites-enabled/default
COPY www.conf /etc/php/8.2/fpm/pool.d/www.conf
COPY run.sh /usr/local/bin/run

Expand Down
4 changes: 2 additions & 2 deletions limesurvey/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ upstream limesurvey-handler {

server {
listen 80;
server_name survey.mafiasi.de;
server_name _;

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
Expand All @@ -25,7 +25,7 @@ server {

location / {
root /var/www/limesurvey;
try_files $uri $uri/index.php;
try_files $uri /index.php;
}

location /tmp/ {
Expand Down

0 comments on commit 788a78a

Please sign in to comment.