Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathieu-keller/e-book-manager
A web app to store and search ebooks you own
https://github.com/mathieu-keller/e-book-manager
e-book e-books ebook ebooks ebooks-manager epub
Last synced: 2 days ago
JSON representation
A web app to store and search ebooks you own
- Host: GitHub
- URL: https://github.com/mathieu-keller/e-book-manager
- Owner: mathieu-keller
- License: bsd-3-clause
- Created: 2022-04-16T09:25:11.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2024-12-29T05:44:05.000Z (12 days ago)
- Last Synced: 2024-12-29T06:29:35.414Z (12 days ago)
- Topics: e-book, e-books, ebook, ebooks, ebooks-manager, epub
- Language: Go
- Homepage:
- Size: 706 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# E-Book Manager
To store EPUB ebooks on a server, sort and filter them.
Docker image can be found here: https://hub.docker.com/r/afrima/e-book-manager
To start, the following environment variables are needed:
| variables | for what? |
|------------|-------------------------------------------|
| GIN_MODE | set to release |
| dbUser | dbUser |
| dbName | name of the database |
| dbPassword | dbPassword |
| dbAddress | postgres DB url or ip with port |
| dbPort | port from the db |
| user | Optional if you want to have a basic login |
| password | Optional if you want to have a basic login |# **tl;dr**
```
services:
server:
image: afrima/e-book-manager:latest
restart: on-failure
ports:
- "443:8080"
environment:
GIN_MODE: "release"
dbPassword: "super-secret"
dbUser: "postgres"
dbAddress: "db"
dbPort: "5432"
dbName: "ebooks"
volumes:
- book-data:/home/appuser/upload/
depends_on:
- "db"
db:
image: postgres:latest
restart: on-failure
environment:
POSTGRES_PASSWORD: "super-secret"
POSTGRES_USER: "postgres"
POSTGRES_DB: "ebooks"
ports:
- "5432:5432"
volumes:
- book-db:/var/lib/postgresql/datavolumes:
book-data:
external: false
book-db:
external: false
```