Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
3wc | a2bc9303c8 | |
3wc | 028146d9b8 | |
3wc | 8a5e53e04d |
|
@ -9,3 +9,6 @@ LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
# Set to an existing path on the host, and define a path inside the container
|
# Set to an existing path on the host, and define a path inside the container
|
||||||
EXTRA_VOLUME=/dev/null:/tmp/.dummy
|
EXTRA_VOLUME=/dev/null:/tmp/.dummy
|
||||||
|
|
||||||
|
COMPOSE_FILE="compose.yml"
|
||||||
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.jfa.yml"
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue