@@ -7,31 +7,26 @@ project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/ma
77project_blurb : |
88 [{{ project_name|capitalize }}]({{ project_url }}) is a self-hosted application that tracks what you listen and offers you a dashboard to explore statistics about it! It's composed of a web server which polls the Spotify API every now and then and a web application on which you can explore your statistics.
99project_lsio_github_repo_url : " https://github.com/linuxserver/docker-{{ project_name }}"
10-
1110# supported architectures
1211available_architectures :
13- - { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
14- - { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
15-
12+ - {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
13+ - {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
1614# development version
1715development_versions : false
18-
1916# container parameters
2017param_container_name : " {{ project_name }}"
21-
2218param_usage_include_ports : true
2319param_ports :
24- - { external_port: "80", internal_port: "80", port_desc: "your_spotify HTTP webui" }
25- - { external_port: "443", internal_port: "443", port_desc: "your_spotify HTTPS webui" }
20+ - {external_port: "80", internal_port: "80", port_desc: "your_spotify HTTP webui"}
21+ - {external_port: "443", internal_port: "443", port_desc: "your_spotify HTTPS webui"}
2622param_usage_include_env : true
2723param_env_vars :
28- - { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
29- - { env_var: "APP_URL", env_value: "http://localhost", desc: "The protocol and hostname where the app will be accessed."}
30- - { env_var: "SPOTIFY_PUBLIC", env_value: "", desc: "Your Spotify application client ID."}
31- - { env_var: "SPOTIFY_SECRET", env_value: "", desc: "Your Spotify application secret."}
32- - { env_var: "CORS", env_value: "http://localhost:80,https://localhost:443", desc: "Allowed CORS sources, set to `all` to allow any source."}
33- - { env_var: "MONGO_ENDPOINT", env_value: "mongodb://mongo:27017/your_spotify", desc: "Set mongodb endpoint address/port."}
34-
24+ - {env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London."}
25+ - {env_var: "APP_URL", env_value: "http://localhost", desc: "The protocol and hostname where the app will be accessed."}
26+ - {env_var: "SPOTIFY_PUBLIC", env_value: "", desc: "Your Spotify application client ID."}
27+ - {env_var: "SPOTIFY_SECRET", env_value: "", desc: "Your Spotify application secret."}
28+ - {env_var: "CORS", env_value: "http://localhost:80,https://localhost:443", desc: "Allowed CORS sources, set to `all` to allow any source."}
29+ - {env_var: "MONGO_ENDPOINT", env_value: "mongodb://mongo:27017/your_spotify", desc: "Set mongodb endpoint address/port."}
3530# application setup block
3631app_setup_block_enabled : true
3732app_setup_block : |
@@ -40,13 +35,69 @@ app_setup_block: |
4035 The application requires an external [mongodb database](https://hub.docker.com/_/mongo/), supported versions are 4.x, 5.x, and 6.x.
4136
4237 This ia an all-in-one container which includes both the server and client components. If you require these to be separate then please use the releases from the [your_spotify repo](https://github.com/Yooooomi/your_spotify).
43-
38+ # init diagram
39+ init_diagram : |
40+ "your_spotify:latest": {
41+ docker-mods
42+ base {
43+ fix-attr +\nlegacy cont-init
44+ }
45+ docker-mods -> base
46+ legacy-services
47+ custom services
48+ init-services -> legacy-services
49+ init-services -> custom services
50+ custom services -> legacy-services
51+ legacy-services -> ci-service-check
52+ init-migrations -> init-adduser
53+ init-nginx-end -> init-config
54+ init-os-end -> init-config
55+ init-config -> init-config-end
56+ init-your_spotify-config -> init-config-end
57+ init-os-end -> init-crontab-config
58+ init-mods-end -> init-custom-files
59+ base -> init-envfile
60+ init-os-end -> init-folders
61+ init-php -> init-keygen
62+ base -> init-migrations
63+ base -> init-mods
64+ init-config-end -> init-mods
65+ init-version-checks -> init-mods
66+ init-mods -> init-mods-end
67+ init-mods-package-install -> init-mods-end
68+ init-mods -> init-mods-package-install
69+ init-samples -> init-nginx
70+ init-permissions -> init-nginx-end
71+ base -> init-os-end
72+ init-adduser -> init-os-end
73+ init-envfile -> init-os-end
74+ init-migrations -> init-os-end
75+ init-keygen -> init-permissions
76+ init-nginx -> init-php
77+ init-folders -> init-samples
78+ init-custom-files -> init-services
79+ init-mods-end -> init-services
80+ init-config-end -> init-version-checks
81+ init-nginx-end -> init-your_spotify-config
82+ init-services -> svc-cron
83+ svc-cron -> legacy-services
84+ init-services -> svc-nginx
85+ svc-nginx -> legacy-services
86+ init-services -> svc-php-fpm
87+ svc-php-fpm -> legacy-services
88+ init-services -> svc-your_spotify
89+ svc-your_spotify -> legacy-services
90+ }
91+ Base Images: {
92+ "baseimage-alpine-nginx:3.20" <- "baseimage-alpine:3.20"
93+ }
94+ "your_spotify:latest" <- Base Images
4495# changelog
4596changelogs :
46- - { date: "27.05.24:", desc: "Existing users should update their nginx confs to avoid http2 deprecation warnings." }
47- - { date: "24.05.24:", desc: "Rebase to Alpine 3.20." }
48- - { date: "02.03.24:", desc: "Updates for changes in 1.8.0. Initial DB migration may take several minutes." }
49- - { date: "24.01.24:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf." }
50- - { date: "23.12.23:", desc: "Rebase to Alpine 3.19 with php 8.3."}
51- - { date: "23.01.23:", desc: "Rebase to Alpine 3.18, standardize nginx default site conf." }
52- - { date: "23.01.23:", desc: "Initial Release." }
97+ - {date: "27.05.24:", desc: "Existing users should update their nginx confs to avoid http2 deprecation warnings."}
98+ - {date: "24.05.24:", desc: "Rebase to Alpine 3.20."}
99+ - {date: "02.03.24:", desc: "Updates for changes in 1.8.0. Initial DB migration may take several minutes."}
100+ - {date: "24.01.24:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf."}
101+ - {date: "23.12.23:", desc: "Rebase to Alpine 3.19 with php 8.3."}
102+ - {date: "23.01.23:", desc: "Rebase to Alpine 3.18, standardize nginx default site conf."}
103+ - {date: "23.01.23:", desc: "Initial Release."}
0 commit comments