a private music uploading and streaming service in Django
- clone repo
- edit docker-compose.yml
- configure
ports
indeployproxy
to desired value
- configure
- add SSL certificates to new directory in project root called
certs
- add database with the same name as the
dbname
enviornment variable in themusicserver
image to postgres - edit deployproxy/nginx.conf
- set
server_name
- set the 301 redirect to the appropriate URL
- set
- run
docker-compose build
- set enviornment variable
secret
to a new Django secret (I recommend https://djecrety.ir/) - set enviornment variable
dbpass
to a desired postgres password - run
docker-compose up