mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented funkwhale draft
This commit is contained in:
13
roles/docker-funkwhale/templates/docker-compose.yml.j2
Normal file
13
roles/docker-funkwhale/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
version: "3"
|
||||
services:
|
||||
funkwhale:
|
||||
container_name: funkwhale
|
||||
restart: unless-stopped
|
||||
image: funkwhale/all-in-one:{{funkwhale_version}}
|
||||
env_file: env
|
||||
volumes:
|
||||
- data:/data
|
||||
ports:
|
||||
- "127.0.0.1:{{http_port}}:{{http_port}}"
|
||||
volumes:
|
||||
data:
|
12
roles/docker-funkwhale/templates/env.j2
Normal file
12
roles/docker-funkwhale/templates/env.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
FUNKWHALE_HOSTNAME={{domain}}
|
||||
FUNKWHALE_PROTOCOL=https
|
||||
# This limits the upload size
|
||||
NGINX_MAX_BODY_SIZE=100M
|
||||
# Bind to localhost
|
||||
FUNKWHALE_API_IP=127.0.0.1
|
||||
# Container port you want to expose on the host
|
||||
FUNKWHALE_API_PORT={{http_port}}
|
||||
# Generate and store a secure secret key for your instance
|
||||
DJANGO_SECRET_KEY={{funkwhale_django_secret}}
|
||||
# Remove this if you expose the container directly on ports 80/443
|
||||
NESTED_PROXY=1
|
Reference in New Issue
Block a user