···11+version: '3.7'
22+33+services:
44+ multi-scrobbler:
55+ build:
66+ context: .
77+ env_file:
88+ - path: ./.env
99+ required: false
1010+ #environment:
1111+ #- TZ=Etc/GMT # Specify timezone from TZ Database name found here https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
1212+ #- SPOTIFY_CLIENT_ID=
1313+ #- SPOTIFY_CLIENT_SECRET=
1414+ #- SPOTIFY_REDIRECT_URI=http://multi-scrobbler-host-IP:9078/callback ## Need to be whitelisted in Spotify dashboard and is used for creating the connection first time
1515+ #- MALOJA_URL=http://maloja:42010
1616+ #- MALOJA_API_KEY=
1717+ #- PUID=1000 # required if running docker on linux host, see main README Docker setup instructions
1818+ #- PGID=1000 # required if running docker on linux host, see main README Docker setup instructions
1919+2020+ # set if using a source/client with redirect URI that you have not explicitly set and MS is NOT running on the same machine that you will view the dashboard from
2121+ # EX: You will view MS dashboard at 'http://192.168.0.101:9078' -> set BASE_URL=http://192.168.0.101:9078
2222+ #- BASE_URL=http://MyHostIP:9078
2323+ volumes:
2424+ - "./config:/config"
2525+ #networks:
2626+ # - (optional to add container to the same bridge network that maloja is inside to be able to use docker internal networking & dns to resolve and connect to maloja URL via http://maloja:port)
2727+ ports:
2828+ - 9078:9078 # first port is the HOST port multi-scrobbler will serve UI and API on
2929+ restart: unless-stopped