diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..4a1c98b --- /dev/null +++ b/.env.example @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index e94652e..a18aa92 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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