one-click-apps/public/v4/apps/azuracast.yml

214 lines
7.1 KiB
YAML

captainVersion: 4
services:
$$cap_appname:
caproverExtra:
containerHttpPort: '80'
websocketSupport: 'true'
image: ghcr.io/azuracast/azuracast:$$cap_AZURACAST_VERSION
hostname: $$cap_appname.$$cap_root_domain
restart: unless-stopped
ports:
- $$cap_AZURACAST_SFTP_PORT:$$cap_AZURACAST_SFTP_PORT
- '8000:8000'
- '8005:8005'
- '8006:8006'
- '8010:8010'
- '8015:8015'
- '8016:8016'
- '8020:8020'
- '8025:8025'
- '8026:8026'
- '8030:8030'
- '8035:8035'
- '8036:8036'
- '8040:8040'
- '8045:8045'
- '8046:8046'
- '8050:8050'
- '8055:8055'
- '8056:8056'
- '8060:8060'
- '8065:8065'
- '8066:8066'
- '8070:8070'
- '8075:8075'
- '8076:8076'
- '8090:8090'
- '8095:8095'
- '8096:8096'
- '8100:8100'
- '8105:8105'
- '8106:8106'
- '8110:8110'
- '8115:8115'
- '8116:8116'
- '8120:8120'
- '8125:8125'
- '8126:8126'
- '8130:8130'
- '8135:8135'
- '8136:8136'
- '8140:8140'
- '8145:8145'
- '8146:8146'
- '8150:8150'
- '8155:8155'
- '8156:8156'
- '8160:8160'
- '8165:8165'
- '8166:8166'
- '8170:8170'
- '8175:8175'
- '8176:8176'
- '8180:8180'
- '8185:8185'
- '8186:8186'
- '8190:8190'
- '8195:8195'
- '8196:8196'
- '8200:8200'
- '8205:8205'
- '8206:8206'
- '8210:8210'
- '8215:8215'
- '8216:8216'
- '8220:8220'
- '8225:8225'
- '8226:8226'
- '8230:8230'
- '8235:8235'
- '8236:8236'
- '8240:8240'
- '8245:8245'
- '8246:8246'
- '8250:8250'
- '8255:8255'
- '8256:8256'
- '8260:8260'
- '8265:8265'
- '8266:8266'
- '8270:8270'
- '8275:8275'
- '8276:8276'
- '8280:8280'
- '8285:8285'
- '8286:8286'
- '8290:8290'
- '8295:8295'
- '8296:8296'
- '8300:8300'
- '8305:8305'
- '8306:8306'
- '8310:8310'
- '8315:8315'
- '8316:8316'
- '8320:8320'
- '8325:8325'
- '8326:8326'
- '8330:8330'
- '8335:8335'
- '8336:8336'
- '8340:8340'
- '8345:8345'
- '8346:8346'
- '8350:8350'
- '8355:8355'
- '8356:8356'
- '8360:8360'
- '8365:8365'
- '8366:8366'
- '8370:8370'
- '8375:8375'
- '8376:8376'
- '8380:8380'
- '8385:8385'
- '8386:8386'
- '8390:8390'
- '8395:8395'
- '8396:8396'
- '8400:8400'
- '8405:8405'
- '8406:8406'
- '8410:8410'
- '8415:8415'
- '8416:8416'
- '8420:8420'
- '8425:8425'
- '8426:8426'
- '8430:8430'
- '8435:8435'
- '8436:8436'
- '8440:8440'
- '8445:8445'
- '8446:8446'
- '8450:8450'
- '8455:8455'
- '8456:8456'
- '8460:8460'
- '8465:8465'
- '8466:8466'
- '8470:8470'
- '8475:8475'
- '8476:8476'
- '8480:8480'
- '8485:8485'
- '8486:8486'
- '8490:8490'
- '8495:8495'
- '8496:8496'
environment:
AZURACAST_VERSION: $$cap_AZURACAST_VERSION
AZURACAST_SFTP_PORT: $$cap_AZURACAST_SFTP_PORT
MYSQL_ROOT_PASSWORD: $$cap_AZURACAST_DB_PASSWORD
PUID: $$cap_AZURACAST_PUID
PGID: $$cap_AZURACAST_PGID
volumes:
- $$cap_appname-stations:/var/azuracast/stations
- $$cap_appname-backups:/var/azuracast/backups
- $$cap_appname-db:/var/lib/mysql
- $$cap_appname-storage:/var/azuracast/storage
caproverOneClickApp:
instructions:
start: |-
AzuraCast is a "web radio station in a box". We include everything you need to broadcast your own Internet
radio station, along with a powerful web interface to manage your stations, let live DJs connect to your stream,
and view detailed reports about your audience.
Note: This one-click app exposes all the ports in the range from 8000-8500 that are needed to run your first
50 stations, both for outgoing broadcasting and incoming DJ connections. If you're solely using the AzuraCast
AutoDJ, these ports aren't necessary as you can just enable the "Use Web Proxy" setting inside AzuraCast. If you
plan to use direct ports or accept incoming DJ connections, ensure the ports in the range from 8000 to 8500
(excluding port 8080, as it's commonly used for other applications) are not used by other applications and are cleared
through your firewall.
end: |-
AzuraCast is up and running! You should now complete the web setup in your browser at
http://$$cap_appname.$$cap_root_domain/
displayName: AzuraCast
isOfficial: true
description: Self-hosted web radio management suite
documentation: https://www.azuracast.com/docs
variables:
- id: $$cap_AZURACAST_VERSION
label: Version
description: Valid values include "latest" for Rolling Release, "stable" for Stable release channel, and any specific version.
defaultValue: 'latest'
- id: $$cap_AZURACAST_DB_PASSWORD
label: MariaDB Root Password
description: Specify a password for the root user of the built-in MariaDB database.
validRegex: /.{1,}/
- id: $$cap_AZURACAST_PUID
label: User ID for AzuraCast User (Advanced)
defaultValue: '1000'
description: User ID that the process uses; changing this is only necessary if you're using custom file mounts.
validRegex: /.{1,}/
- id: $$cap_AZURACAST_PGID
label: Group ID for AzuraCast User (Advanced)
defaultValue: '1000'
description: Group ID that the process uses; changing this is only necessary if you're using custom file mounts.
validRegex: /.{1,}/
- id: $$cap_AZURACAST_SFTP_PORT
label: SFTP Port (Advanced)
description: Port used by station managers to connect via SFTP to manage media in bulk.
defaultValue: 2022
validRegex: /.{1,}/