7 Commits

4 changed files with 46 additions and 2 deletions

View File

@ -9,3 +9,6 @@ LETS_ENCRYPT_ENV=production
# Set to an existing path on the host, and define a path inside the container
EXTRA_VOLUME=/dev/null:/tmp/.dummy
COMPOSE_FILE="compose.yml"
#COMPOSE_FILE="$COMPOSE_FILE:compose.jfa.yml"

View File

@ -22,3 +22,14 @@
* `abra app deploy <app-name>`
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
## Adding Media
You can mount a folder of your choice to jellyfin by editing this line after running `abra app config ${your jelllyfin url}`
```
EXTRA_VOLUME=/home/aadil/media:/media/ # replace /home/aadil/media with folder of your choice
```
Then during the jellyfin setup wizard use this folder as the path for your jellyfin library.

30
compose.jfa.yml Normal file
View File

@ -0,0 +1,30 @@
---
version: "3.8"
services:
accounts:
image: hrfee/jfa-go
entrypoint: ["/opt/jfa-go/jfa-go", "-data", "/data", "-debug"]
networks:
- proxy
volumes:
# - jellyfin_config:/jf
- jfa:/data
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}_admin.loadbalancer.server.port=8056"
- "traefik.http.routers.${STACK_NAME}_admin.rule=Host(`admin.${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}_admin.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}_admin.tls.certresolver=${LETS_ENCRYPT_ENV}"
networks:
proxy:
external: true
volumes:
jfa:
jellyfin_config:
external: true

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: jellyfin/jellyfin:10.8.0
image: jellyfin/jellyfin:10.8.5
environment:
- JELLYFIN_PublishedServerUrl=https://${DOMAIN}
networks:
@ -25,7 +25,7 @@ services:
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=0.1.0+10.8.0"
- "coop-cloud.${STACK_NAME}.version=0.1.2+10.8.5"
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:8096"]
# interval: 30s