diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7f5e718 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM caddy + +COPY root/ / + +ADD https://github.com/just-containers/s6-overlay/releases/latest/download/s6-overlay-noarch.tar.xz /tmp +ADD https://github.com/just-containers/s6-overlay/releases/latest/download/s6-overlay-x86_64.tar.xz /tmp + +RUN tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz && \ + tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && \ + rm -rf /tmp/* + +EXPOSE 80 + +ENTRYPOINT ["/init"] +CMD caddy run --config /config/Caddyfile \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..38b6b2b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +services: + caddy: + build: . + container_name: leekspin + restart: unless-stopped + ports: + - 80:80 \ No newline at end of file diff --git a/root/config/Caddyfile b/root/config/Caddyfile new file mode 100644 index 0000000..90a98f1 --- /dev/null +++ b/root/config/Caddyfile @@ -0,0 +1,4 @@ +:80 { + root * /config/www + file_server +} \ No newline at end of file diff --git a/root/config/www/android-chrome-192x192.png b/root/config/www/android-chrome-192x192.png new file mode 100644 index 0000000..ab1408b Binary files /dev/null and b/root/config/www/android-chrome-192x192.png differ diff --git a/root/config/www/android-chrome-512x512.png b/root/config/www/android-chrome-512x512.png new file mode 100644 index 0000000..9c0cacc Binary files /dev/null and b/root/config/www/android-chrome-512x512.png differ diff --git a/root/config/www/apple-touch-icon.png b/root/config/www/apple-touch-icon.png new file mode 100644 index 0000000..13e066a Binary files /dev/null and b/root/config/www/apple-touch-icon.png differ diff --git a/root/config/www/browserconfig.xml b/root/config/www/browserconfig.xml new file mode 100644 index 0000000..b9639ca --- /dev/null +++ b/root/config/www/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #000000 + + + diff --git a/root/config/www/favicon-16x16.png b/root/config/www/favicon-16x16.png new file mode 100644 index 0000000..64484eb Binary files /dev/null and b/root/config/www/favicon-16x16.png differ diff --git a/root/config/www/favicon-32x32.png b/root/config/www/favicon-32x32.png new file mode 100644 index 0000000..cc4d0e0 Binary files /dev/null and b/root/config/www/favicon-32x32.png differ diff --git a/root/config/www/favicon.ico b/root/config/www/favicon.ico new file mode 100644 index 0000000..d6f5022 Binary files /dev/null and b/root/config/www/favicon.ico differ diff --git a/root/config/www/index.html b/root/config/www/index.html new file mode 100644 index 0000000..651f4af --- /dev/null +++ b/root/config/www/index.html @@ -0,0 +1,132 @@ + + + + + + LEEKSPIN 2.0 + + + + + + + + + + + + + + + + +
+ Play button +
+ + +

You've been spinning for 00:00:00

+ + + + + \ No newline at end of file diff --git a/root/config/www/leekspin.opus b/root/config/www/leekspin.opus new file mode 100644 index 0000000..93bc78d Binary files /dev/null and b/root/config/www/leekspin.opus differ diff --git a/root/config/www/leekspin.webm b/root/config/www/leekspin.webm new file mode 100644 index 0000000..922b8f0 Binary files /dev/null and b/root/config/www/leekspin.webm differ diff --git a/root/config/www/mstile-144x144.png b/root/config/www/mstile-144x144.png new file mode 100644 index 0000000..f7a13ae Binary files /dev/null and b/root/config/www/mstile-144x144.png differ diff --git a/root/config/www/mstile-150x150.png b/root/config/www/mstile-150x150.png new file mode 100644 index 0000000..6af1729 Binary files /dev/null and b/root/config/www/mstile-150x150.png differ diff --git a/root/config/www/mstile-310x150.png b/root/config/www/mstile-310x150.png new file mode 100644 index 0000000..bdd754d Binary files /dev/null and b/root/config/www/mstile-310x150.png differ diff --git a/root/config/www/mstile-310x310.png b/root/config/www/mstile-310x310.png new file mode 100644 index 0000000..4a16072 Binary files /dev/null and b/root/config/www/mstile-310x310.png differ diff --git a/root/config/www/mstile-70x70.png b/root/config/www/mstile-70x70.png new file mode 100644 index 0000000..7115c76 Binary files /dev/null and b/root/config/www/mstile-70x70.png differ diff --git a/root/config/www/play-arrow.svg b/root/config/www/play-arrow.svg new file mode 100644 index 0000000..3ad9fc1 --- /dev/null +++ b/root/config/www/play-arrow.svg @@ -0,0 +1,18 @@ + + + + play_arrow + Created with Sketch. + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/config/www/safari-pinned-tab.svg b/root/config/www/safari-pinned-tab.svg new file mode 100644 index 0000000..da26b80 --- /dev/null +++ b/root/config/www/safari-pinned-tab.svg @@ -0,0 +1,38 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + diff --git a/root/config/www/site.webmanifest b/root/config/www/site.webmanifest new file mode 100644 index 0000000..2c8c68e --- /dev/null +++ b/root/config/www/site.webmanifest @@ -0,0 +1,18 @@ +{ + "name": "Leekspin 2.0", + "short_name": "Leekspin 2.0", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#000000", + "background_color": "#000000" +}