feat: Updates to docker file and gh action

* Clean up Dockerfile
* Add health check to Dockerfile
* Update gh action versions
This commit is contained in:
Brandon Skrtich 2022-06-02 05:55:01 +00:00
parent 5f2d6f4d5e
commit 4900649908
3 changed files with 40 additions and 23 deletions

View file

@ -69,7 +69,7 @@ docker run -d \
-e AUDIOBOOKSHELF_GID=100 \
-p 13378:80 \
-v </path/to/audiobooks>:/audiobooks \
-v </path/to/your/podcasts>:/podcasts \
-v </path/to/podcasts>:/podcasts \
-v </path/to/config>:/config \
-v </path/to/metadata>:/metadata \
--name audiobookshelf \
@ -90,6 +90,7 @@ docker start audiobookshelf
### docker-compose.yml ###
services:
audiobookshelf:
container_name: audiobookshelf
image: ghcr.io/advplyr/audiobookshelf:latest
environment:
- AUDIOBOOKSHELF_UID=99
@ -97,8 +98,8 @@ services:
ports:
- 13378:80
volumes:
- </path/to/your/audiobooks>:/audiobooks
- </path/to/your/podcasts>:/podcasts
- </path/to/audiobooks>:/audiobooks
- </path/to/podcasts>:/podcasts
- </path/to/config>:/config
- </path/to/metadata>:/metadata
```
@ -195,7 +196,7 @@ server
proxy_redirect http:// https://;
}
}
```
```
### Apache Reverse Proxy