Aria-Core deploy made easy
certbot certonly --standalone
vim /etc/nginx/nginx.conf
nginx -t # test configuration and exit
user YOUR NAME;
events{};
http {
server {
listen 443 ssl;
server_name YOUR DOMAIN;
ssl_protocols TLSv1.2;
ssl_certificate PATH TO FILE;
ssl_certificate_key PATH TO FILE;
location / {
proxy_pass http://localhost:5577/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
git clone https://github.com/ariamusic/core-deploy
cd core-deploy
vim config/core/config.json
vim config/database/
docker-compose up -d
git pull
git submodule update
docker-compose up --no-deps -d --build `module`
docker-compose exec core /bin/bash
# in docker container
python google_login.py
>GPM USER
>TOKEN
exit
use updatedb
command to fetch gpm songs
docker-compose logs -f core