Sign inSign up

80x86/olaindex

By 80x86

•Updated over 7 years ago

OLAINDEX docker image for amd64 and arm64 machine, https://github.com/WangNingkai/OLAINDEX

Image
19

50K+

80x86/olaindex repository overview

⁠OLAINDEX -- directory list app for onedrive

⁠both amd64 and arm64 machine supported

⁠Mod by HuangYeWuDeng(荒野無燈@nanodm.net)

use s6⁠ as supervision instead of runit

OLAINDEX(https://github.com/WangNingkai/OLAINDEX⁠) is A OneDrive directory listing application,

based on the elegant PHP framework Laravel5.7,

and access to data through the Microsoft Graph API,

support for multiple types of account login,

multiple theme display,

simple and powerful.

olaindex-icon

⁠Multi-Architecture image supported
ArchitectureImage:Tag
amd64/arm6480x86/olaindex:latest
⁠Architecture specific image
ArchitectureImage:Tag
amd6480x86/olaindex:amd64-latest
arm6480x86/olaindex:arm64-latest

⁠service port

ProtocolContainer Listen Port
http80
https443

⁠volume map

Container Pathdescription
/vol/confdirectory for .env file
/vol/storagedirectory for /app/storage
/vol/ssldirectory for custom ssl.crt and ssl.key

⁠example

⁠run with default file cache driver

amd64 or arm64:

docker run -d \
--name=olaindex \
--restart always \
-p 8085:80 \
-p 8443:443 \
--mount type=tmpfs,destination=/tmp \
-v /home/hacklog/.config/olaindex/conf:/vol/conf \
-v /home/hacklog/.config/olaindex/storage:/vol/storage \
-v /home/hacklog/.config/olaindex/ssl:/vol/ssl \
-e PHP_TZ=Asia/Shanghai \
-e PHP_MAX_EXECUTION_TIME=600 \
-e APP_DEBUG=false \
80x86/olaindex:latest
⁠run with redis cache driver

create network

docker network create -d bridge olaindex-net

run redis⁠

docker run -d \
--network olaindex-net \
--name=olaindex-redis \
--restart always \
redis:5.0.5-alpine3.9
docker run -d \
--network olaindex-net \
--name=olaindex \
--restart always \
-p 8085:80 \
-p 8443:443 \
--mount type=tmpfs,destination=/tmp \
-v /home/hacklog/.config/olaindex/conf:/vol/conf \
-v /home/hacklog/.config/olaindex/storage:/vol/storage \
-v /home/hacklog/.config/olaindex/ssl:/vol/ssl \
-e PHP_TZ=Asia/Shanghai \
-e PHP_MAX_EXECUTION_TIME=600 \
-e APP_DEBUG=false \
-e SESSION_DRIVER=redis \
-e CACHE_DRIVER=redis \
-e REDIS_HOST='olaindex-redis' \
-e REDIS_PASSWORD='' \
-e REDIS_PORT=6379 \
80x86/olaindex:latest

⁠NGINX reverse proxy sample

server {
    listen       80;
    server_name  files.80x86.io rom.nanodm.net;

    #charset koi8-r;
    access_log  /var/log/nginx/rom.nanodm.net.access.log;
    error_log  /var/log/nginx/rom.nanodm.net.error.log;

    location / {

      proxy_set_header        Host $host;
      proxy_set_header        X-Real-IP $remote_addr;
      proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header        X-Forwarded-Proto $scheme;
      proxy_max_temp_file_size 0;

      #this is the maximum upload size
      client_max_body_size       100m;
      client_body_buffer_size    256k;

      proxy_connect_timeout      90;
      proxy_send_timeout         90;
      proxy_read_timeout         90;
      proxy_buffering            off;
      proxy_request_buffering    off;
      proxy_set_header Connection ""; # Clear for keepalive

      proxy_pass          http://127.0.0.1:8085;
    }
}


server {

    listen 443;
    server_name  files.80x86.io rom.nanodm.net;

    ssl_certificate           /etc/nginx/ssl/ssl.crt;
    ssl_certificate_key       /etc/nginx/ssl/ssl.key;

    ssl on;
    ssl_session_cache  builtin:1000  shared:SSL:10m;
    ssl_protocols  TLSv1.1 TLSv1.2;
    ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
    ssl_prefer_server_ciphers on;

    access_log            /var/log/nginx/rom.nanodm.net_ssl.access.log;
    error_log             /var/log/nginx/rom.nanodm.net_ssl.error.log;

    location / {

      proxy_set_header        Host $host;
      proxy_set_header        X-Real-IP $remote_addr;
      proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header        X-Forwarded-Proto $scheme;
      proxy_max_temp_file_size 0;

      #this is the maximum upload size
      client_max_body_size       100m;
      client_body_buffer_size    256k;

      proxy_connect_timeout      90;
      proxy_send_timeout         90;
      proxy_read_timeout         90;
      proxy_buffering            off;
      proxy_request_buffering    off;
      proxy_set_header Connection ""; # Clear for keepalive

      proxy_pass          https://127.0.0.1:8443;
    }
  }

Tag summary

Content type

Image

Digest

Size

17.6 MB

Last updated

over 7 years ago

docker pull 80x86/olaindex