Public | Automated Build

Last pushed: a month ago
Short Description
S3QL Docker Image -Prometheus exporter on port 7950 -expose data on * with NFS
Full Description

s3ql-gdrive-docker

S3QL Docker Image.
This Docker image does the next:

  1. fsck with force-remote to check s3ql is OK
  2. mount s3ql
  3. enable NFS over the mounted s3ql directory
  4. enable prometheus exporter on port 7950

Environment Variables

STORAGE_URL="" swift://mys3ql
CACHE_S3QL_SIZE=50 #GB
LOGIN_USER=""
LOGIN_PASSWORD=""
PASSPHRASE="" #Only if defined when mkfs.s3ql
COMPRESS_METHOD="none"
BACKEND_OPTIONS="" #Extra backend options
S3QL_CACHE_PATH="/cache" 
S3QL_MOUNT_POINT="/mountpoint"
S3QL_METADATA_UPLOAD_INTERVAL=1800 #Interval in seconds to save database state
S3QL_THREADS=15 #Concurrent Uploads/downloads
S3QL_PROMETHEUS_PORT=7950 #Port used to expose prometheus exporter

Running

Is mandatory to run in privileged mode or it won't work

is necesary to have cache cachefiles device enabled

modprobe cachefiles
docker run --cap-add mknod --cap-add sys_admin --device=/dev/fuse -e STORAGE_URL=swift://mys3ql -e LOGIN_USER=myUser -e LOGIN_PASSWORD=myPassword \
           -e PASSPHRASE=encryptionPassword segator/s3ql
Docker Pull Command
Owner
segator
Source Repository