diff --git a/piwik/Dockerfile b/piwik/Dockerfile deleted file mode 100644 index a2d40e2..0000000 --- a/piwik/Dockerfile +++ /dev/null @@ -1,57 +0,0 @@ -FROM wonderfall/nginx-php:7.1 - -ARG VERSION=3.2.0 -ARG GPG_matthieu="814E 346F A01A 20DB B04B 6807 B5DB D592 5590 A237" - -ENV UID=991 GID=991 \ - UPLOAD_MAX_SIZE=10M \ - MEMORY_LIMIT=256M \ - OPCACHE_MEM_SIZE=128M - -RUN BUILD_DEPS=" \ - git \ - tar \ - build-base \ - autoconf \ - geoip-dev \ - libressl \ - ca-certificates \ - gnupg" \ - && apk -U upgrade && apk add \ - ${BUILD_DEPS} \ - geoip \ - tzdata \ - && pecl install geoip-1.1.1 \ - && echo 'extension=geoip.so' >> /php/conf.d/geoip.ini \ - && mkdir /piwik && cd /tmp \ - && PIWIK_TARBALL="piwik-${VERSION}.tar.gz" \ - && wget -q https://builds.piwik.org/${PIWIK_TARBALL} \ - && wget -q https://builds.piwik.org/${PIWIK_TARBALL}.asc \ - && wget -q https://builds.piwik.org/signature.asc \ - && echo "Verifying authenticity of ${PIWIK_TARBALL}..." \ - && gpg --import signature.asc \ - && FINGERPRINT="$(LANG=C gpg --verify ${PIWIK_TARBALL}.asc ${PIWIK_TARBALL} 2>&1 \ - | sed -n "s#Primary key fingerprint: \(.*\)#\1#p")" \ - && if [ -z "${FINGERPRINT}" ]; then echo "Warning! Invalid GPG signature!" && exit 1; fi \ - && if [ "${FINGERPRINT}" != "${GPG_matthieu}" ]; then echo "Warning! Wrong GPG fingerprint!" && exit 1; fi \ - && echo "All seems good, now unpacking ${PIWIK_TARBALL}..." \ - && tar xzf ${PIWIK_TARBALL} --strip 1 -C /piwik \ - && wget -q https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz -P /usr/share/GeoIP/ \ - && gzip -d /usr/share/GeoIP/GeoLiteCity.dat.gz \ - && mv /usr/share/GeoIP/GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat \ - && apk del ${BUILD_DEPS} php7-dev php7-pear \ - && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg - -COPY rootfs / - -RUN chmod +x /usr/local/bin/run.sh /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* - -VOLUME /config - -EXPOSE 8888 - -LABEL description "Open web analytics platform" \ - piwik "Piwik v${VERSION}" \ - maintainer="Wonderfall " - -CMD ["run.sh"] diff --git a/piwik/README.md b/piwik/README.md deleted file mode 100644 index 3724e8a..0000000 --- a/piwik/README.md +++ /dev/null @@ -1,68 +0,0 @@ -## wonderfall/piwik - -![](https://i.goopics.net/m3.png) - -#### What is this? -It is a web analytics platform. Piwik respects your privacy and gives you full control over your data. - -#### Features -- Based on Alpine Linux. -- Latest Piwik stable. -- nginx stable + PHP7. -- mysql drivers (server not built-in). -- Latest GeoLite City Database from maxmind.com. - -#### Build-time variables -- **VERSION** : version of Piwik -- **GPG_matthieu** : fingerprint of signing key - -#### Environment variables -- **GID** : piwik group id *(default : 991)* -- **UID** : piwik user id *(default : 991)* - -#### Volumes -- **/config** : configuration files - -#### Update -Piwik can update itself. It works well. I'm also maintaing this Dockerfile, so if you don't want to do upgrades directly from Piwik, you can recreate the container as well whenever I push an update. - -#### Configuration -According to Piwik, everything should be fine running this image. You shoudn't have any difficulties to setup your own instance of Piwik. Your `/config/config.ini.php` overwrites the one (in `/piwik/config`)used by Piwik each time the container is started. Moreover, the old config.ini.php is saved as `/config/config.ini.php.bkp` if you want to revert last changes. This should also guarantee transparency through Piwik's updates. - -If you're running Piwik behind a reverse proxy (most likely you do), add this to your `config.ini.php` : - -``` -[General] -#assume_secure_protocol = 1 #uncomment if you use https -proxy_client_headers[] = HTTP_X_FORWARDED_FOR -proxy_client_headers[] = HTTP_X_REAL_IP -proxy_host_headers[] = HTTP_X_FORWARDED_HOST -``` - -#### Reverse proxy -Use port **8888**. -https://github.com/Wonderfall/dockerfiles/tree/master/reverse -https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration - -#### Docker Compose (example) -``` -piwik: - image: wonderfall/piwik - links: - - db_piwik:db_piwik - volumes: - - /mnt/docker/piwik/config:/config - environment: - - GID=1000 - - UID=1000 - -db_piwik: - image: mariadb:10 - volumes: - - /mnt/docker/piwik/db:/var/lib/mysql - environment: - - MYSQL_ROOT_PASSWORD=asupersecretpassword - - MYSQL_DATABASE=piwik - - MYSQL_USER=piwik - - MYSQL_PASSWORD=asupersecretpassword -``` diff --git a/piwik/rootfs/nginx/sites-enabled/nginx.conf b/piwik/rootfs/nginx/sites-enabled/nginx.conf deleted file mode 100644 index 69ea84d..0000000 --- a/piwik/rootfs/nginx/sites-enabled/nginx.conf +++ /dev/null @@ -1,46 +0,0 @@ -server { - listen 8888; - root /piwik; - index index.php index.html; - - location ~* \.(?:bat|git|ini|sh|svn[^.]*|txt|tpl|xml)$ { - return 404; - } - - location ~* \.(jpg|jpeg|gif|css|png|js|map|woff|woff2|ttf|svg|eot)$ { - expires 30d; - access_log off; - } - - location = /favicon.ico { - try_files /favicon.ico =204; - } - - location ~* ^/(?:README|LICENSE[^.]*|LEGALNOTICE)(?:\.txt)*$ { - return 404; - } - - location ~ ^/(vendor|config|tmp|libs|misc) { - deny all; - return 404; - } - - location ~* /(.*)\.(?:markdown|md|twig|yaml|yml|ht|htaccess|ini)$ { - deny all; - } - - location ~ /\. { - deny all; - } - - location / { - try_files $uri /index.php; - } - - location ~ \.php$ { - fastcgi_index index.php; - fastcgi_pass unix:/php/run/php-fpm.sock; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include /nginx/conf/fastcgi_params; - } -} diff --git a/piwik/rootfs/php/conf.d/opcache.ini b/piwik/rootfs/php/conf.d/opcache.ini deleted file mode 100644 index d77112b..0000000 --- a/piwik/rootfs/php/conf.d/opcache.ini +++ /dev/null @@ -1,8 +0,0 @@ -zend_extension=opcache.so -opcache.enable=1 -opcache.enable_cli=1 -opcache.fast_shutdown=1 -opcache.memory_consumption= -opcache.interned_strings_buffer=16 -opcache.max_accelerated_files=10000 -opcache.revalidate_freq=60 diff --git a/piwik/rootfs/usr/local/bin/run.sh b/piwik/rootfs/usr/local/bin/run.sh deleted file mode 100644 index 887825e..0000000 --- a/piwik/rootfs/usr/local/bin/run.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -sed -i -e "s//$UPLOAD_MAX_SIZE/g" /nginx/conf/nginx.conf /php/etc/php-fpm.conf \ - -e "s//$MEMORY_LIMIT/g" /php/etc/php-fpm.conf \ - -e "s//$OPCACHE_MEM_SIZE/g" /php/conf.d/opcache.ini - -if [ ! -f /config/config.ini.php ]; then - cp /piwik/config/config.ini.php /config/config.ini.php -fi - -ln -s /config/config.ini.php /piwik/config/config.ini.php -mv piwik fix && mv fix piwik # fix strange bug -chown -R $UID:$GID /piwik /config /var/log /php /nginx /tmp /usr/share/GeoIP /etc/s6.d -exec su-exec $UID:$GID /bin/s6-svscan /etc/s6.d diff --git a/libresonic/Dockerfile b/unmaintained/libresonic/Dockerfile similarity index 100% rename from libresonic/Dockerfile rename to unmaintained/libresonic/Dockerfile diff --git a/libresonic/README.md b/unmaintained/libresonic/README.md similarity index 100% rename from libresonic/README.md rename to unmaintained/libresonic/README.md diff --git a/libresonic/run.sh b/unmaintained/libresonic/run.sh similarity index 100% rename from libresonic/run.sh rename to unmaintained/libresonic/run.sh diff --git a/lychee/Dockerfile b/unmaintained/lychee/Dockerfile similarity index 100% rename from lychee/Dockerfile rename to unmaintained/lychee/Dockerfile diff --git a/lychee/README.md b/unmaintained/lychee/README.md similarity index 100% rename from lychee/README.md rename to unmaintained/lychee/README.md diff --git a/lychee/nginx.conf b/unmaintained/lychee/nginx.conf similarity index 100% rename from lychee/nginx.conf rename to unmaintained/lychee/nginx.conf diff --git a/lychee/php-fpm.conf b/unmaintained/lychee/php-fpm.conf similarity index 100% rename from lychee/php-fpm.conf rename to unmaintained/lychee/php-fpm.conf diff --git a/lychee/run.sh b/unmaintained/lychee/run.sh similarity index 100% rename from lychee/run.sh rename to unmaintained/lychee/run.sh diff --git a/lychee/s6.d/.s6-svscan/finish b/unmaintained/lychee/s6.d/.s6-svscan/finish similarity index 100% rename from lychee/s6.d/.s6-svscan/finish rename to unmaintained/lychee/s6.d/.s6-svscan/finish diff --git a/lychee/s6.d/nginx/run b/unmaintained/lychee/s6.d/nginx/run similarity index 100% rename from lychee/s6.d/nginx/run rename to unmaintained/lychee/s6.d/nginx/run diff --git a/lychee/s6.d/php/run b/unmaintained/lychee/s6.d/php/run similarity index 100% rename from lychee/s6.d/php/run rename to unmaintained/lychee/s6.d/php/run diff --git a/mastodon/Dockerfile.master b/unmaintained/mastodon/Dockerfile.master similarity index 100% rename from mastodon/Dockerfile.master rename to unmaintained/mastodon/Dockerfile.master diff --git a/mastodon/Dockerfile.stable b/unmaintained/mastodon/Dockerfile.stable similarity index 100% rename from mastodon/Dockerfile.stable rename to unmaintained/mastodon/Dockerfile.stable diff --git a/mastodon/Dockerfile.targaryen b/unmaintained/mastodon/Dockerfile.targaryen similarity index 100% rename from mastodon/Dockerfile.targaryen rename to unmaintained/mastodon/Dockerfile.targaryen diff --git a/mastodon/README.md b/unmaintained/mastodon/README.md similarity index 100% rename from mastodon/README.md rename to unmaintained/mastodon/README.md diff --git a/mastodon/rootfs/etc/s6.d/.s6-svscan/finish b/unmaintained/mastodon/rootfs/etc/s6.d/.s6-svscan/finish similarity index 100% rename from mastodon/rootfs/etc/s6.d/.s6-svscan/finish rename to unmaintained/mastodon/rootfs/etc/s6.d/.s6-svscan/finish diff --git a/mastodon/rootfs/etc/s6.d/sidekiq/run b/unmaintained/mastodon/rootfs/etc/s6.d/sidekiq/run similarity index 100% rename from mastodon/rootfs/etc/s6.d/sidekiq/run rename to unmaintained/mastodon/rootfs/etc/s6.d/sidekiq/run diff --git a/mastodon/rootfs/etc/s6.d/streaming/run b/unmaintained/mastodon/rootfs/etc/s6.d/streaming/run similarity index 100% rename from mastodon/rootfs/etc/s6.d/streaming/run rename to unmaintained/mastodon/rootfs/etc/s6.d/streaming/run diff --git a/mastodon/rootfs/etc/s6.d/web/run b/unmaintained/mastodon/rootfs/etc/s6.d/web/run similarity index 100% rename from mastodon/rootfs/etc/s6.d/web/run rename to unmaintained/mastodon/rootfs/etc/s6.d/web/run diff --git a/mastodon/rootfs/usr/local/bin/run b/unmaintained/mastodon/rootfs/usr/local/bin/run similarity index 100% rename from mastodon/rootfs/usr/local/bin/run rename to unmaintained/mastodon/rootfs/usr/local/bin/run diff --git a/mastodon/targaryen/app/javascript/images/elephant-friend.png b/unmaintained/mastodon/targaryen/app/javascript/images/elephant-friend.png similarity index 100% rename from mastodon/targaryen/app/javascript/images/elephant-friend.png rename to unmaintained/mastodon/targaryen/app/javascript/images/elephant-friend.png diff --git a/mastodon/targaryen/app/javascript/images/logo.svg b/unmaintained/mastodon/targaryen/app/javascript/images/logo.svg similarity index 100% rename from mastodon/targaryen/app/javascript/images/logo.svg rename to unmaintained/mastodon/targaryen/app/javascript/images/logo.svg diff --git a/mastodon/targaryen/app/javascript/images/logo_alt.svg b/unmaintained/mastodon/targaryen/app/javascript/images/logo_alt.svg similarity index 100% rename from mastodon/targaryen/app/javascript/images/logo_alt.svg rename to unmaintained/mastodon/targaryen/app/javascript/images/logo_alt.svg diff --git a/mastodon/targaryen/app/javascript/images/logo_full.svg b/unmaintained/mastodon/targaryen/app/javascript/images/logo_full.svg similarity index 100% rename from mastodon/targaryen/app/javascript/images/logo_full.svg rename to unmaintained/mastodon/targaryen/app/javascript/images/logo_full.svg diff --git a/mastodon/targaryen/app/javascript/images/mastodon-getting-started.png b/unmaintained/mastodon/targaryen/app/javascript/images/mastodon-getting-started.png similarity index 100% rename from mastodon/targaryen/app/javascript/images/mastodon-getting-started.png rename to unmaintained/mastodon/targaryen/app/javascript/images/mastodon-getting-started.png diff --git a/mastodon/targaryen/app/javascript/images/mastodon-not-found.png b/unmaintained/mastodon/targaryen/app/javascript/images/mastodon-not-found.png similarity index 100% rename from mastodon/targaryen/app/javascript/images/mastodon-not-found.png rename to unmaintained/mastodon/targaryen/app/javascript/images/mastodon-not-found.png diff --git a/mastodon/targaryen/app/javascript/styles/variables.scss b/unmaintained/mastodon/targaryen/app/javascript/styles/variables.scss similarity index 100% rename from mastodon/targaryen/app/javascript/styles/variables.scss rename to unmaintained/mastodon/targaryen/app/javascript/styles/variables.scss diff --git a/mastodon/targaryen/public/android-chrome-192x192.png b/unmaintained/mastodon/targaryen/public/android-chrome-192x192.png similarity index 100% rename from mastodon/targaryen/public/android-chrome-192x192.png rename to unmaintained/mastodon/targaryen/public/android-chrome-192x192.png diff --git a/mastodon/targaryen/public/apple-touch-icon.png b/unmaintained/mastodon/targaryen/public/apple-touch-icon.png similarity index 100% rename from mastodon/targaryen/public/apple-touch-icon.png rename to unmaintained/mastodon/targaryen/public/apple-touch-icon.png diff --git a/mastodon/targaryen/public/avatars/original/missing.png b/unmaintained/mastodon/targaryen/public/avatars/original/missing.png similarity index 100% rename from mastodon/targaryen/public/avatars/original/missing.png rename to unmaintained/mastodon/targaryen/public/avatars/original/missing.png diff --git a/mastodon/targaryen/public/favicon.ico b/unmaintained/mastodon/targaryen/public/favicon.ico similarity index 100% rename from mastodon/targaryen/public/favicon.ico rename to unmaintained/mastodon/targaryen/public/favicon.ico diff --git a/mastodon/targaryen/public/mstile-150x150.png b/unmaintained/mastodon/targaryen/public/mstile-150x150.png similarity index 100% rename from mastodon/targaryen/public/mstile-150x150.png rename to unmaintained/mastodon/targaryen/public/mstile-150x150.png diff --git a/mastodon/targaryen/public/oops.png b/unmaintained/mastodon/targaryen/public/oops.png similarity index 100% rename from mastodon/targaryen/public/oops.png rename to unmaintained/mastodon/targaryen/public/oops.png diff --git a/mastodon/targaryen/targaryen.sh b/unmaintained/mastodon/targaryen/targaryen.sh similarity index 100% rename from mastodon/targaryen/targaryen.sh rename to unmaintained/mastodon/targaryen/targaryen.sh diff --git a/rtorrent-flood/Dockerfile b/unmaintained/rtorrent-flood/Dockerfile similarity index 100% rename from rtorrent-flood/Dockerfile rename to unmaintained/rtorrent-flood/Dockerfile diff --git a/rtorrent-flood/README.md b/unmaintained/rtorrent-flood/README.md similarity index 100% rename from rtorrent-flood/README.md rename to unmaintained/rtorrent-flood/README.md diff --git a/rtorrent-flood/config.js b/unmaintained/rtorrent-flood/config.js similarity index 100% rename from rtorrent-flood/config.js rename to unmaintained/rtorrent-flood/config.js diff --git a/rtorrent-flood/postdl b/unmaintained/rtorrent-flood/postdl similarity index 100% rename from rtorrent-flood/postdl rename to unmaintained/rtorrent-flood/postdl diff --git a/rtorrent-flood/postrm b/unmaintained/rtorrent-flood/postrm similarity index 100% rename from rtorrent-flood/postrm rename to unmaintained/rtorrent-flood/postrm diff --git a/rtorrent-flood/rtorrent.rc b/unmaintained/rtorrent-flood/rtorrent.rc similarity index 100% rename from rtorrent-flood/rtorrent.rc rename to unmaintained/rtorrent-flood/rtorrent.rc diff --git a/rtorrent-flood/run.sh b/unmaintained/rtorrent-flood/run.sh similarity index 100% rename from rtorrent-flood/run.sh rename to unmaintained/rtorrent-flood/run.sh diff --git a/rtorrent-flood/s6.d/.s6-svscan/finish b/unmaintained/rtorrent-flood/s6.d/.s6-svscan/finish similarity index 100% rename from rtorrent-flood/s6.d/.s6-svscan/finish rename to unmaintained/rtorrent-flood/s6.d/.s6-svscan/finish diff --git a/rtorrent-flood/s6.d/flood/run b/unmaintained/rtorrent-flood/s6.d/flood/run similarity index 100% rename from rtorrent-flood/s6.d/flood/run rename to unmaintained/rtorrent-flood/s6.d/flood/run diff --git a/rtorrent-flood/s6.d/rtorrent/run b/unmaintained/rtorrent-flood/s6.d/rtorrent/run similarity index 100% rename from rtorrent-flood/s6.d/rtorrent/run rename to unmaintained/rtorrent-flood/s6.d/rtorrent/run