mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Azuracast (#335)
* Add AzuraCast template * Refactor AzuraCast blueprint and update metadata Simplifies the docker-compose.yml by consolidating services, reducing exposed ports to 8080, and updating volume names. The template.toml is updated to match the new service name and environment variables. The meta.json description and logo are improved, and additional relevant tags are added. * Update AzuraCast logo file extension Changed the AzuraCast logo reference in meta.json from SVG to PNG to reflect the correct file format. * Add MariaDB service to AzuraCast blueprint Introduces a dedicated MariaDB service in the docker-compose file for AzuraCast, including necessary environment variables and volume configuration. Updates the template to generate MySQL credentials and propagate them to the environment, improving database management and security. * Add environment variables to AzuraCast template Introduces several new environment variables to the AzuraCast blueprint template, including Let's Encrypt, virtual host, port assignments, NGINX radio ports, release build preference, Composer plugin mode, and media sync worker count. These additions enhance configuration flexibility and deployment options. * Update docker-compose.yml * Change AzuraCast service port from 8080 to 80 Updated both docker-compose.yml and template.toml to expose AzuraCast on port 80 instead of 8080, aligning the configuration for standard HTTP access. --------- Co-authored-by: randomperson12344 <4dennisk@gmail.com>
This commit is contained in:
BIN
blueprints/azuracast/azuracast.png
Normal file
BIN
blueprints/azuracast/azuracast.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
39
blueprints/azuracast/docker-compose.yml
Normal file
39
blueprints/azuracast/docker-compose.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
azuracast:
|
||||
image: ghcr.io/azuracast/azuracast:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 80
|
||||
volumes:
|
||||
- azuracast-station-data:/var/azuracast/stations
|
||||
- azuracast-data:/var/azuracast/www_tmp
|
||||
- azuracast-uploads:/var/azuracast/uploads
|
||||
- azuracast-backups:/var/azuracast/backups
|
||||
environment:
|
||||
- LANG=en_US.UTF-8
|
||||
- AZURACAST_DC_REVISION=1
|
||||
- MYSQL_HOST=mariadb
|
||||
- MYSQL_PORT=3306
|
||||
- MYSQL_USER=azuracast
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
- MYSQL_DATABASE=azuracast
|
||||
depends_on:
|
||||
- mariadb
|
||||
|
||||
mariadb:
|
||||
image: mariadb:11.4
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- mariadb-data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=azuracast
|
||||
- MYSQL_USER=azuracast
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
|
||||
volumes:
|
||||
azuracast-station-data: {}
|
||||
azuracast-data: {}
|
||||
azuracast-uploads: {}
|
||||
azuracast-backups: {}
|
||||
mariadb-data: {}
|
||||
31
blueprints/azuracast/template.toml
Normal file
31
blueprints/azuracast/template.toml
Normal file
@@ -0,0 +1,31 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
mysql_root_password = "${password:32}"
|
||||
mysql_password = "${password:16}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "azuracast"
|
||||
port = 80
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
LANG = "en_US.UTF-8"
|
||||
AZURACAST_DC_REVISION = "1"
|
||||
MYSQL_HOST = "mariadb"
|
||||
MYSQL_PORT = "3306"
|
||||
MYSQL_USER = "azuracast"
|
||||
MYSQL_PASSWORD = "${mysql_password}"
|
||||
MYSQL_DATABASE = "azuracast"
|
||||
MYSQL_ROOT_PASSWORD = "${mysql_root_password}"
|
||||
LETSENCRYPT_HOST = "${main_domain}"
|
||||
VIRTUAL_HOST = "${main_domain}"
|
||||
DISABLE_LETSENCRYPT = "true"
|
||||
AUTO_ASSIGN_PORT_HTTP = "80"
|
||||
AUTO_ASSIGN_PORT_HTTPS = "443"
|
||||
NGINX_RADIO_PORTS = "8000,8010,8020,8030,8040,8050"
|
||||
PREFER_RELEASE_BUILDS = "true"
|
||||
COMPOSER_PLUGIN_MODE = "false"
|
||||
ADDITIONAL_MEDIA_SYNC_WORKER_COUNT = "0"
|
||||
|
||||
[[config.mounts]]
|
||||
20
meta.json
20
meta.json
@@ -470,6 +470,26 @@
|
||||
"integration"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "azuracast",
|
||||
"name": "AzuraCast",
|
||||
"version": "latest",
|
||||
"description": "AzuraCast is a self-hosted, all-in-one web radio management suite. Easily manage your online radio stations with a powerful web interface.",
|
||||
"logo": "azuracast.png",
|
||||
"links": {
|
||||
"github": "https://github.com/AzuraCast/AzuraCast",
|
||||
"website": "https://www.azuracast.com/",
|
||||
"docs": "https://docs.azuracast.com/"
|
||||
},
|
||||
"tags": [
|
||||
"radio",
|
||||
"streaming",
|
||||
"media",
|
||||
"broadcasting",
|
||||
"music",
|
||||
"entertainment"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "babybuddy",
|
||||
"name": "BabyBuddy",
|
||||
|
||||
Reference in New Issue
Block a user