Skip to content

rockiecxh/ubooquity-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ubooquity Logo
Docker Build Statu Docker Stars Docker Pulls Docker Size Docker Layers Github Stars GitHub license

Introduction

@cromignon has made an image for us in his own repository, but doesn't seems to maintain it anymore.
This image is built to be as lighweight and simple as possible. It is based on alpine and java 8.

  • Ubooquity version : 2.1.0

About Ubooquity

Home server for comics and ebooks

Ubooquity is a free, lightweight and easy-to-use home server for your comics and ebooks. Use it to access your files from anywhere, with a tablet, an e-reader, a phone or a computer.

Main features

  • Simple graphical interface to configure your server in a few minutes
  • Web administration page available if you prefer to do everything through your browser
  • User management with secured access, to decide who can see what
  • Online comic reader to read your comics without downloading huge files
  • Compatible with Calibre metadata, for better ebooks collection management
  • Can be installed on any OS supporting Java (Windows, Linux, Mac OS...) and on a wide range of hardware (desktop computer, server, NAS...)
  • Supports many types of files, with a preference for epub, cbz, cbr and PDF files

Copy-pasted from the Ubooquity homepage.

Getting started

Docker Installation

Please see the Docker installation documentation for details.

Prerequisite

Ensure that you have folders created for the ubooquity config on the host. It's generally recommended to have some e-books or comics to mount in :)

Docker

Run the following command line :

docker run --restart=always -d \
  -v /PATH/TO/UBOOQUITY/DATA:/config \
  -v /PATH/TO/COMICSANDBOOKS:/media \
  -p 2202:2202 \
  -p 2502:2502 \
  zerpex/ubooquity-docker
  

Docker-compose

Use the following docker-compose.yml and adapt it to your configuration :

version: '2'

services:
  ubooquity:
    restart: always
    image: zerpex/ubooquity-docker
    container_name: ubooquity
      - /PATH/TO/UBOOQUITY/CONFIG:/config
      - /PATH/TO/YOUR/COMICS:/media
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=Europe/Paris
    ports:
      - 2202:2202
      - 2502:2502

volumes:
  files:
    driver: local

docker-compose with Watchtower :

version: '2'

services:
   ubooquity:
    restart: always
    image: zerpex/ubooquity-docker
    container_name: ubooquity
    volumes:
      - ./files/conf:/config
      - /library:/media
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=Europe/Paris
    ports:
      - 2202:2202
      - 2502:2502

   watchtower:
    restart: always
    image: v2tec/watchtower
    container_name: watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=Europe/Paris

volumes:
  files:
    driver: local

Notes

Once the container is up:

  • go to http://{YOUR_IP_ADDRESS}:2502/admin and do your configuration according to the ubooquity documentation.
  • Then, you can access Ubooquity through http://{YOUR_IP_ADDRESS}:2202
  • In order to keep your containers up to date automatically, I recommand you to use Watchtower that will do the job for you :)

License

Code released under the MIT license.

About

My take on creating a docker image for ubooquity

Resources

License

Stars

Watchers

Forks

Packages

No packages published