feat: Setup proper .env parsing for docker-compose
This commit is contained in:
parent
a17f3383e3
commit
e7e4e252ba
2 changed files with 15 additions and 6 deletions
13
.env.example
Normal file
13
.env.example
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# StashDB Configuration
|
||||
STASHDB_URL=https://stashdb.org/graphql
|
||||
STASHDB_API_KEY=your_stashdb_api_key_here
|
||||
|
||||
# Whisparr Configuration
|
||||
WHISPARR_URL=http://whisparr:6969
|
||||
WHISPARR_API_KEY=your_whisparr_api_key_here
|
||||
|
||||
# Jellyfin Configuration (For Authentication)
|
||||
JELLYFIN_URL=http://jellyfin:8096
|
||||
|
||||
# Timezone
|
||||
TZ=America/New_York
|
||||
|
|
@ -12,15 +12,11 @@ services:
|
|||
volumes:
|
||||
# Mounts the local ./config folder to /config in the container to persist config.json
|
||||
- ./config:/config
|
||||
env_file:
|
||||
- .env
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue