Compare commits

...

19 Commits

Author SHA1 Message Date
3wc 08504cc4dc chore: publish 0.1.2+0.6.20 release
continuous-integration/drone/push Build was killed Details
2024-02-08 14:26:22 -03:00
3wc f59c3364d4 Add image metadata score
continuous-integration/drone/push Build is passing Details
2023-08-04 19:20:44 +02:00
3wc 1f99898c96 Add build status badge
[ci skip]
2023-03-28 01:24:54 -04:00
3wc b19972eea9 One more missing var..
continuous-integration/drone/push Build is passing Details
2023-03-28 01:21:20 -04:00
3wc a383d359ff Add necessary vars for CI
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2023-03-28 01:11:51 -04:00
3wc 15622ddc5c Add status metadata
[ci skip]
2023-03-28 01:09:36 -04:00
3wc 9d3da21c46 Another Drone & metadata fix
continuous-integration/drone/push Build is failing Details
2023-03-28 01:03:38 -04:00
3wc d657cacd05 Fix Drone, update metadata
continuous-integration/drone/push Build encountered an error Details
2023-03-28 01:02:25 -04:00
knoflook 5bf2b53016 chore: publish 0.1.1+0.6.19 release
continuous-integration/drone Build encountered an error Details
2023-03-06 13:03:41 +01:00
3wc 6d060a32bb Switch to self-hosted stack-ssh-deploy image [mass update] 2023-01-21 11:49:55 -08:00
3wc fb106ec53a Fix CI by adding networks: [mass update] 2023-01-20 11:58:41 -08:00
3wc 1494a05215 Automatically generate catalogue on release [mass update]
Re: coop-cloud/recipes-catalogue-json#4
2023-01-20 10:27:11 -08:00
3wc 589f96b379 Update abra syntax in examples (finally) [mass update] 2023-01-19 16:02:27 -08:00
decentral1se c961df191d
fix: uninstall scholarly 2022-12-01 20:33:15 +01:00
decentral1se 46eb11f5f2
chore: bump config 2022-04-01 10:25:04 +02:00
decentral1se e7c172e6b7
moar space 2022-04-01 10:22:55 +02:00
decentral1se 2a337c680f
bump config 2022-03-30 10:41:08 +02:00
decentral1se ceeded1c08
moar upload 2022-03-30 10:40:25 +02:00
knoflook fd6817171e docs: add default login 2022-01-06 12:34:29 +00:00
6 changed files with 38 additions and 43 deletions

View File

@ -3,53 +3,39 @@ kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: calibre-web
networks:
- proxy
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
environment:
STACK_NAME: calibre-web
DOMAIN: calibre-web.swarm-test.autonomic.zone
LETS_ENCRYPT_ENV: production
APP_ENTRYPOINT_VERSION: v1
NGINX_CONFIG_VERSION: v1
- name: notify coopcloud-dev on failure
image: plugins/matrix
settings:
homeserver: https://matrix.autonomic.zone
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
userid: "@autono-bot:autonomic.zone"
accesstoken:
from_secret: autono_bot_access_token
depends_on:
- deployment
when:
status:
- failure
trigger:
branch:
- main
---
kind: pipeline
name: recipe release
name: generate recipe catalogue
steps:
- name: release a new version
image: decentral1se/drone-abra:latest
settings:
command: recipe calibre-web release
deploy_key:
from_secret: abra_bot_deploy_key
- name: trigger downstream builds
image: plugins/downstream
settings:
server: https://drone.autonomic.zone
server: https://build.coopcloud.tech
token:
from_secret: decentral1se_token
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-apps-json
depends_on:
- release a new version
- coop-cloud/auto-recipes-catalogue-json
trigger:
event: tag

View File

@ -1,18 +1,20 @@
# calibre-web
[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/calibre-web/status.svg)](https://build.coopcloud.tech/coop-cloud/calibre-web)
> Calibre-Web is a web app providing a clean interface for browsing, reading
> and downloading eBooks using an existing Calibre database.
<!-- metadata -->
* **Category**:
* **Status**:
* **Image**: [linuxserver/calibre-web](https://hub.docker.com/r/linuxserver/calibre-web)
* **Healthcheck**:
* **Backups**:
* **Email**:
* **Tests**:
* **SSO**:
* **Category**: Apps
* **Status**: 2, pre-alpha
* **Image**: [linuxserver/calibre-web](https://hub.docker.com/r/linuxserver/calibre-web), 2, third-party
* **Healthcheck**: No
* **Backups**: No
* **Email**: N/A
* **Tests**: 2
* **SSO**: 1
<!-- endmetadata -->
@ -22,10 +24,12 @@
2. Deploy [`coop-cloud/traefik`]
3. `abra app new ${REPO_NAME} --secrets` (optionally with `--pass` if you'd like
to save secrets in `pass`)
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
5. `abra app YOURAPPDOMAIN deploy`
5. `abra app deploy YOURAPPDOMAIN`
6. Open the configured domain in your browser to finish set-up
The default login is login: `admin`, password: `admin123`
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik

View File

@ -1,2 +1,2 @@
export APP_ENTRYPOINT_VERSION=v2
export NGINX_CONFIG_VERSION=v1
export APP_ENTRYPOINT_VERSION=v3
export NGINX_CONFIG_VERSION=v3

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
web:
image: nginx:1.20.0
image: nginx:1.25.3
networks:
- proxy
- internal
@ -24,7 +24,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
app:
image: "lscr.io/linuxserver/calibre-web:0.6.14"
image: "lscr.io/linuxserver/calibre-web:0.6.20"
environment:
- DOCKER_MODS
- FLASK_DEBUG=${DEBUG}
@ -43,7 +43,7 @@ services:
mode: 0555
deploy:
labels:
- "coop-cloud.${STACK_NAME}.version=0.1.0+0.6.14"
- "coop-cloud.${STACK_NAME}.version=0.1.2+0.6.20"
networks:
internal:

View File

@ -33,6 +33,11 @@ else
echo "/books/metadata.db exists, not creating another one"
fi
# https://github.com/janeczku/calibre-web/issues/2299
echo "removing scholarly"
apt-get install -y python3-distutils
/usr/local/bin/pip3 uninstall -y scholarly
echo "ensuring permissions are set correctly on metadata parent directory"
/usr/bin/chmod a+rw /books

View File

@ -15,7 +15,7 @@ http {
listen 80;
server_name {{ env "DOMAIN" }};
client_max_body_size 20M;
client_max_body_size 150M;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;