You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Meliurwen d09238210c
Upgrade to redis 6 as default
4 years ago
nginx Removed some env variables from nginx template and some additional cleaning 4 years ago
.env.example Added some other docker-related variables 4 years ago
.gitignore First chunk of refactoring done 4 years ago
README.md Added README.md and added back shared.env to celerybeat 4 years ago
all.env.example Removed some variables from celerybeat service and changed the network stack 4 years ago
docker-compose.yml Upgrade to redis 6 as default 4 years ago
nginx.env.example First chunk of refactoring done 4 years ago
postgres.env.example First chunk of refactoring done 4 years ago

README.md

Funkwhale container stack

This is a rewriting of the official Funkwhale multi-container installation.

Why

The official docker-compose works, but is written in some very questionable way; creating serious issues in security, portability, modularity, readability and maintenability of the entire stack. The installation is also not automated, but requires extra steps (excluding configuration that doesn't count) to initialize for the first time the instance.

How install

Configuration

These are the minimum number of variables you need to set in order to get the whole stack working.

  • Remove the .example extension from all files (or copy new ones without it)
  • Set the DJANGO_SECRET_KEY variable in all.env
  • Set the FUNKWHALE_HOSTNAME variable in .env
  • (only if using a reverse proxy with docker-companion) set the dedicated variables in nginx.env

Initialization (only first time)

Initialize the database:

docker-compose run --rm api python manage.py migrate

Create the superuser of the instance:

docker-compose run --rm api python manage.py createsuperuser

Run

Launch the whole stack:

docker-compose build --pull && docker-compose up -d

Resources