23 lines
689 B
YAML
23 lines
689 B
YAML
services:
|
|
audiobookshelf:
|
|
container_name: Audiobookshelf
|
|
image: advplyr/audiobookshelf
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "nc -z 127.0.0.1 80 || exit 1"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 90s
|
|
mem_limit: 4g
|
|
cpu_shares: 768
|
|
environment:
|
|
JWT_SECRET_KEY: dOxZYTTZgXKMHkqLBIQVImayQXAVWdzGBPuFJKggzcgvgPJPXpWzqzKaUOIOGGIr
|
|
ports:
|
|
- 13378:80
|
|
volumes:
|
|
- /volume1/docker/audiobookshelf:/config:rw
|
|
- /volume1/docker/audiobookshelf/metadata:/metadata:rw
|
|
- /volume1/data/docker/audiobookshelf/audiobooks:/audiobooks:rw
|
|
restart: on-failure:5 |