chore: Add docker-compose.yml for easier deployment
This commit is contained in:
parent
52048ad8f7
commit
a17f3383e3
1 changed files with 29 additions and 0 deletions
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
huntarr:
|
||||
build: .
|
||||
image: huntarr:latest
|
||||
container_name: huntarr
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# Change 8000 on the left to whatever port you want exposed on your host
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
# Mounts the local ./config folder to /config in the container to persist config.json
|
||||
- ./config:/config
|
||||
environment:
|
||||
- TZ=America/New_York
|
||||
- CONFIG_PATH=/config/config.json
|
||||
# You can also pass these via environment variables if you prefer not using the JSON
|
||||
# - STASHDB_URL=https://stashdb.org/graphql
|
||||
# - STASHDB_API_KEY=your_key_here
|
||||
# - WHISPARR_URL=http://whisparr:6969
|
||||
# - WHISPARR_API_KEY=your_key_here
|
||||
# - JELLYFIN_URL=http://jellyfin:8096
|
||||
networks:
|
||||
- mediaserver_default
|
||||
|
||||
networks:
|
||||
mediaserver_default:
|
||||
external: true
|
||||
Loading…
Add table
Reference in a new issue