Files
2026-08-26 21:59:28 -04:00

51 lines
1.3 KiB
YAML

services:
audiobook-tui:
build:
context: .
args:
M4B_TOOL_IMAGE: ${M4B_TOOL_IMAGE:-sandreas/m4b-tool:0.5.2}
user: "${PUID}:${PGID}"
environment:
PUID: ${PUID}
PGID: ${PGID}
AUDIOBOOK_PENDING: /data/pending
AUDIOBOOK_READY: /data/ready
AUDIOBOOK_DONE: /data/done
AUDIOBOOK_REVIEW: /data/review
AUDIOBOOK_STATE_DIR: /app/state
AUDIOBOOK_WORK_DIR: /app/state/work
stdin_open: true
tty: true
init: true
network_mode: bridge
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
volumes:
- type: bind
source: ${AUDIOBOOK_PENDING_HOST}
target: /data/pending
bind:
create_host_path: false
- type: bind
source: ${AUDIOBOOK_READY_HOST}
target: /data/ready
bind:
create_host_path: false
- type: bind
source: ${AUDIOBOOK_DONE_HOST}
target: /data/done
bind:
create_host_path: false
- type: bind
source: ${AUDIOBOOK_REVIEW_HOST}
target: /data/review
bind:
create_host_path: false
- type: bind
source: ${AUDIOBOOK_STATE_HOST:-./state}
target: /app/state
bind:
create_host_path: false