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
f2532fbf5a
|
4 years ago | |
---|---|---|
nginx | 4 years ago | |
.env.example | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
docker-compose.yml | 4 years ago | |
fw_config.env.example | 4 years ago | |
nginx.env.example | 4 years ago | |
paths.env.example | 4 years ago | |
postgres.env.example | 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 inall.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