Move spotify proxy alongside website

That's all it's really used for right now.
This commit is contained in:
Jake Howard
2023-09-21 14:20:54 +01:00
parent 27da7a7494
commit 7de73287fd
3 changed files with 43 additions and 31 deletions

View File

@ -13,7 +13,7 @@ x-website: &website
- CACHE_URL=redis://redis/0
- QUEUE_STORE_URL=redis://redis/1
- RENDITION_CACHE_URL=redis://redis/2
- SPOTIFY_PROXY_HOST={{ spotify_proxy_host }}
- SPOTIFY_PROXY_URL=http://spotify_public_proxy
- UNSPLASH_CLIENT_ID={{ unsplash_client_id }}
- SENTRY_DSN={{ website_sentry_dsn }}
- BASE_HOSTNAME=theorangeone.net
@ -75,6 +75,15 @@ services:
volumes:
- ./redis:/data
spotify_public_proxy:
image: ghcr.io/realorangeone/spotify-public-proxy:latest
restart: unless-stopped
environment:
- PORT=80
- SPOTIFY_CLIENT_ID={{ spotify_client_id }}
- SPOTIFY_CLIENT_SECRET={{ spotify_client_secret }}
- SENTRY_DSN={{ spotify_sentry_dsn }}
networks:
traefik:
external: true