This playbook will deploy simple Castopod on your server.
Tested on:
- Ubuntu: 18.04, 20.04, 22.04
- Debian: 10, 11
Applications that will be installed on your server:
- Mysql server
- Apache web server
- Let's encrypt ssl certificate
- Castopod with file backend and without ffmpeg to run video clips
Before downloading this playbook, make sure you have everything done in list below:
- A clean Debian or Ubuntu server, that is accessible from internet This playbook is designed to run on clean installations and may broke something on your server if it has some applications installed on it
- Ability to connect to your server with ssh key and run sudo without asking password
- Configured DNS record, that points to your web server
- Installed
ansible
andjq
on machine, that will run this playbook
Simple instruction how to run this playbook:
- Clone repository:
git clone https://github.com/belykhk/castopod-ansible-playbook.git
- Install ansible roles, used by this playbook:
ansible-galaxy install -r requirements.yml
- Rename
inventory.yml.example
toinventory.yml
and replace information in it - Run playbook:
ansible-playbook -i inventory.yml deploy-castopod.yml
Open link https://yourdomain/cp-login
and start using Castopod. It is good practice to secure you public facing server, but this is out of scope of this playbook (honestly, i'm just being lazy)
Nah, do whatever you want with this playbook.
- Castopod team
- Jeff Geerling