version: '3.8'
services:
web:
image: "ghcr.io/azuracast/azuracast:${AZURACAST_VERSION:-latest}"
ports:
- '280:80'
- '2443:443'
- '2022:2022'
- '8002-8009:8002-8009'
environment:
MYSQL_ROOT_PASSWORD: example_root_password
MYSQL_USER: azuracast
MYSQL_PASSWORD: azur4c457
MYSQL_DATABASE: azuracast
REDIS_HOST: redis
REDIS_PORT: 6379
NGINX_RADIO_PORTS: default
NGINX_WEBDJ_PORTS: default
APPLICATION_ENV: production
ENABLE_REDIS: "true"
ENABLE_WEB_UPDATER: "true"
volumes:
- station_data:/var/azuracast/stations
- backups:/var/azuracast/backups
- db_data:/var/azuracast/lib/mysql
- www_uploads:/var/azuracast/storage/uploads
- shoutcast2_install:/var/azuracast/storage/shoutcast2
- stereo_tool_install:/var/azuracast/storage/stereo_tool
- geolite_install:/var/azuracast/storage/geoip
- sftpgo_data:/var/azuracast/storage/sftpgo
- acme:/var/azuracast/storage/acme
updater:
image: ghcr.io/azuracast/updater:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
redis:
image: redis:latest
ports:
- '6379:6379'
mariadb:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: example_root_password
MYSQL_DATABASE: azuracast
MYSQL_USER: azuracast
MYSQL_PASSWORD: azur4c457
volumes:
- db_data:/var/azuracast/lib/mysql
volumes:
db_data: {}
acme: {}
shoutcast2_install: {}
stereo_tool_install: {}
geolite_install: {}
sftpgo_data: {}
station_data: {}
www_uploads: {}
backups: {}