2020-12-10 23:57:31 +01:00
|
|
|
# acCrocRadio setup servizi via docker
|
|
|
|
|
|
|
|
## Azuracast
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
mkdir -p /srv/azuracast
|
|
|
|
cd /srv/azuracast
|
|
|
|
curl -fsSL https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker.sh > docker.sh
|
|
|
|
chmod a+x docker.sh
|
|
|
|
./docker.sh install
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
media in: /var/lib/docker/volumes/azuracast_station_data/_data/{station_name}/media/
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
backup in: /var/lib/docker/volumes/azuracast_backups/_data
|
2020-12-10 23:57:31 +01:00
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
Controllare i permessi: `docker exec -it azuracast_web bash`
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
Upgrade
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
./docker.sh update-self
|
|
|
|
./docker.sh update
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
Logs
|
2020-12-11 00:09:45 +01:00
|
|
|
|
|
|
|
docker-compose logs -f
|
|
|
|
docker-compose logs -f service [web | stations]
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
Stop containers di azuracast
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
cd /srv/azuracast
|
|
|
|
docker-compose down
|
|
|
|
|
|
|
|
edit .env e docker-compose.override.yml
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
Go container azuracast
|
2020-12-11 00:09:45 +01:00
|
|
|
|
|
|
|
docker-compose up -d
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
Manual azuracast backup
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
./docker.sh backup --exclude-media path-to-backup.tar.gz
|
|
|
|
|
|
|
|
Manual azuracast backup restore
|
|
|
|
|
|
|
|
./docker.sh restore [/path/to/backup.tar.gz]
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
Permessi con ACL
|
|
|
|
|
|
|
|
sftp su porta 2022
|
|
|
|
|
|
|
|
Links:
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
* https://www.azuracast.com/station-management/djs/streaming-software.html
|
|
|
|
* https://github.com/AzuraCast/AzuraCast/issues
|
|
|
|
* https://www.azuracast.com/install/docker.html
|
|
|
|
* https://www.azuracast.com/developers/docker-sh.html
|
|
|
|
* https://www.azuracast.com/administration/users/
|
|
|
|
* https://www.azuracast.com/extending/multisite.html
|
|
|
|
* https://www.azuracast.com/help/docker/
|
|
|
|
* https://github.com/AzuraCast/AzuraRelay
|
|
|
|
* https://www.azuracast.com/developers/nowplaying.html
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
## Webpage
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
netstat -tulpn
|
|
|
|
ufw status verbose
|
2020-12-10 23:57:31 +01:00
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
mkdir -p /srv/website/www
|
|
|
|
cd /srv/website
|
|
|
|
docker pull nginx
|
|
|
|
edit docker-compose.yml e webpage.env
|
|
|
|
docker-compose up -d
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
## Dokuwiki
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
docker pull linuxserver/dokuwiki
|
|
|
|
edit docker-compose.yml e dokuwiki.env
|
|
|
|
mkdir /srv/dokuwiki/
|
|
|
|
chown user:user [path-to-wiki]
|
|
|
|
docker-compose up -d
|
|
|
|
|
|
|
|
http://wiki.accroc.radio/install.php
|
|
|
|
ssh -p 22 root@00.000.00.000 -NL 8080:172.28.0.7:80
|
|
|
|
http://localhost:8080/install.php
|
2020-12-10 23:57:31 +01:00
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
Nice URL
|
2020-12-10 23:57:31 +01:00
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
wiki admin/Configuration Settings panel: set Use Nice URL to .htaccess
|
|
|
|
tick Use slash as namespace separator in URLs
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
Restart the container
|
|
|
|
|
|
|
|
data in: /var/lib/docker/volumes/dokuwiki_data/_data/dokuwiki/data
|
|
|
|
|
|
|
|
testo puro:
|
2020-12-11 00:09:45 +01:00
|
|
|
|
|
|
|
* https://wiki.accroc.radio/test?do=export_xhtmlbody
|
|
|
|
* https://www.dokuwiki.org/export
|
2020-12-10 23:57:31 +01:00
|
|
|
|
|
|
|
## Wordpress
|
|
|
|
|
2020-12-11 00:09:45 +01:00
|
|
|
mkdir /srv/wordpress/
|
|
|
|
docker pull wordpress:latest
|
|
|
|
edit docker-compose.yml e wordpress.env
|
|
|
|
docker-compose up -d
|
2020-12-10 23:57:31 +01:00
|
|
|
|