Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3"
- services:
- yourspotifyserver:
- container_name: yourSpotifyserver
- image: yooooomi/your_spotify_server
- restart: always
- ports:
- - "55555:8080"
- links:
- - mongo
- depends_on:
- - mongo
- environment:
- - API_ENDPOINT=https://yourspotifyback.example.com# This MUST be included as a valid URL in the spotify dashboard (see below)
- - CLIENT_ENDPOINT=https://yourspotify.example.com
- - SPOTIFY_PUBLIC= secret
- - SPOTIFY_SECRET= secert
- - CORS=all # all if you want to allow every origin
- - TIMEZONE=Pacific/Auckland
- - MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify
- labels:
- - "traefik.enable=true"
- - "traefik.http.routers.yourspotifyback.rule=Host(`yourspotifyback.example.com`)"
- - "traefik.http.routers.yourspotifyback.entrypoints=websecure"
- - "traefik.http.routers.yourspotifyback.tls.certresolver=letsencrypt"
- # - "traefik.http.routers.yourspotifyback.middlewares=chain-authelia@file"
- mongo:
- container_name: mongo
- restart: always
- image: mongo:4.4.8
- ports:
- - 27017:27017
- volumes:
- - /docker/appdata/yourspotify/mongo/your_spotify_db:/data/db
- web:
- container_name: YourspotifyWeb
- image: yooooomi/your_spotify_client
- restart: always
- ports:
- - "44444:3000"
- environment:
- - API_ENDPOINT=https://yourspotifyback.example.com
- labels:
- - "traefik.enable=true"
- - "traefik.http.routers.yourspotify.rule=Host(`yourspotify.example.com`)"
- - "traefik.http.routers.yourspotify.entrypoints=websecure"
- - "traefik.http.routers.yourspotify.tls.certresolver=letsencrypt"
- #- "traefik.http.routers.yourspotify.middlewares=chain-authelia@file"
- networks:
- default:
- name: traefik_default
- external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement