Skip to content
Snippets Groups Projects
Verified Commit 4126c5a4 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Fix port mapping of Dokuwiki and keep wget for HEALTHCHECK (Dokuwiki)

parent 8689f14d
No related branches found
No related tags found
1 merge request!53Migrate to Traefik v2
......@@ -34,7 +34,6 @@ RUN apt-get update -y && \
chown -R www-data . && \
chmod +x /run.sh && \
sed -i "s/\${MAXSIZE}/100M/g" /etc/nginx/nginx.conf && \
apt-get remove -y wget && \
apt-get autoremove -y && \
apt-get clean
......@@ -45,6 +44,6 @@ ENV LANGUAGE fr_FR.UTF-8
EXPOSE 80
VOLUME ["/var/www/html"]
HEALTHCHECK CMD wget -q -O /dev/null http://127.0.0.1:${DOKUWIKI_PORT:=80}/
HEALTHCHECK CMD curl http://127.0.0.1:${DOKUWIKI_PORT:=80}/
CMD ["/run.sh"]
......@@ -17,7 +17,7 @@ services:
- uploads:/home/pica/uploads
- ./secrets/sftp.secrets:/etc/sftp/users.conf:ro
ports:
- 2222:22
- "2222:22"
networks:
- sftp
restart: unless-stopped
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment