AMoonRabbit here is my docker-compose.yaml
services:
postgres:
restart: unless-stopped
networks:
- default
env_file: .env
environment:
- "POSTGRES_HOST_AUTH_METHOD=trust"
image: postgres:11
volumes:
- ./data/postgres:/var/lib/postgresql/data
redis:
restart: unless-stopped
networks:
- default
env_file: .env
image: redis:5
volumes:
- ./data/redis:/data
celeryworker:
restart: unless-stopped
image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest}
networks:
- default
depends_on:
- postgres
- redis
env_file: .env
# Celery workers handle background tasks (such file imports or federation
# messaging). The more processes a worker gets, the more tasks
# can be processed in parallel. However, more processes also means
# a bigger memory footprint.
# By default, a worker will span a number of process equal to your number
# of CPUs. You can adjust this, by explicitly setting the --concurrency
# flag:
# celery -A funkwhale_api.taskapp worker -l INFO --concurrency=4
command: celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY-0}
environment:
- C_FORCE_ROOT=true
volumes:
- "${MUSIC_DIRECTORY_SERVE_PATH-/srv/funkwhale/data/music}:${MUSIC_DIRECTORY_PATH-/music}:ro"
- "${MEDIA_ROOT}:${MEDIA_ROOT}"
celerybeat:
restart: unless-stopped
image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest}
networks:
- default
depends_on:
- postgres
- redis
env_file: .env
command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO
api:
restart: unless-stopped
image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest}
networks:
- default
depends_on:
- postgres
- redis
env_file: .env
volumes:
- "${MUSIC_DIRECTORY_SERVE_PATH-/srv/funkwhale/data/music}:${MUSIC_DIRECTORY_PATH-/music}:ro"
- "${MEDIA_ROOT}:${MEDIA_ROOT}"
- "${STATIC_ROOT}:${STATIC_ROOT}"
- "${FUNKWHALE_FRONTEND_PATH}:/frontend"
ports:
- "5000"
nginx:
restart: unless-stopped
image: nginx
networks:
- default
depends_on:
- api
env_file:
- .env
environment:
# Override those variables in your .env file if needed
- "NGINX_MAX_BODY_SIZE=${NGINX_MAX_BODY_SIZE-100M}"
volumes:
- "./nginx/funkwhale.template:/etc/nginx/conf.d/funkwhale.template:ro"
- "./nginx/funkwhale_proxy.conf:/etc/nginx/funkwhale_proxy.conf:ro"
- "${MUSIC_DIRECTORY_SERVE_PATH-/srv/funkwhale/data/music}:${MUSIC_DIRECTORY_PATH-/music}:ro"
- "${MEDIA_ROOT}:${MEDIA_ROOT}:ro"
- "${STATIC_ROOT}:${STATIC_ROOT}:ro"
- "${FUNKWHALE_FRONTEND_PATH}:/frontend:ro"
ports:
# override those variables in your .env file if needed
- "${FUNKWHALE_API_IP}:${FUNKWHALE_API_PORT}:80"
command: >
sh -c "envsubst \"`env | awk -F = '{printf \" $$%s\", $$1}'`\"
< /etc/nginx/conf.d/funkwhale.template
> /etc/nginx/conf.d/default.conf
&& cat /etc/nginx/conf.d/default.conf
&& nginx -g 'daemon off;'"
networks:
default:
browser console:
WebExtensions: reset-default-search: has already ran once and saw panel, exit. api.js:210
BackgroundUpdate: _reasonsToNotScheduleUpdates: Failed to check for Maintenance Service Registry Key: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIUpdateProcessor.getServiceRegKeyExists]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: resource://gre/modules/BackgroundUpdate.jsm :: _reasonsToNotScheduleUpdates :: line 243" data: no] BackgroundUpdate.jsm:245
The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.
GETwss://allnightlong.minnix.dev/api/v1/activity?token=null
[HTTP/1.1 200 OK 69ms]
GETwss://allnightlong.minnix.dev/api/v1/activity?token=null
[HTTP/1.1 200 OK 73ms]
XHRGEThttps://allnightlong.minnix.dev/media/__sized__/attachments/95/8f/1f/attachment_cover-7f19946a-ceac-4c4c-af5b-f4560ecb56fb-crop-c0-5__0-5-200x200-95.jpg
[HTTP/2 403 Forbidden 8ms]
GEThttps://allnightlong.minnix.dev/media/__sized__/attachments/95/8f/1f/attachment_cover-7f19946a-ceac-4c4c-af5b-f4560ecb56fb-crop-c0-5__0-5-200x200-95.jpg
[HTTP/1.1 403 Forbidden 0ms]
XHRGEThttps://allnightlong.minnix.dev/media/__sized__/attachments/95/8f/1f/attachment_cover-7f19946a-ceac-4c4c-af5b-f4560ecb56fb-crop-c0-5__0-5-200x200-95.jpg
[HTTP/2 403 Forbidden 8ms]
GEThttps://allnightlong.minnix.dev/media/__sized__/attachments/95/8f/1f/attachment_cover-7f19946a-ceac-4c4c-af5b-f4560ecb56fb-crop-c0-5__0-5-200x200-95.jpg
[HTTP/1.1 403 Forbidden 0ms]
GEThttps://allnightlong.minnix.dev/api/v1/listen/1e5d0c3c-e359-466c-ab28-23290fc08b77/?upload=bbfb2c6f-67c9-487d-89bf-198d850eb832&token=eyJ1c2VyX2lkIjoxLCJ1c2VyX3NlY3JldCI6IjQ4MDNhMzBkLWExOWQtNGIxZC1iNWQ3LWRiNzliMTQ0ZDU0ZCIsInNjb3BlcyI6WyJyZWFkOmxpYnJhcmllcyJdfQ:1n07ap:UHi1tegNxEW3kVCAV_IzzUpg5fk
[HTTP/2 403 Forbidden 47ms]
GETwss://allnightlong.minnix.dev/api/v1/activity?token=null
[HTTP/1.1 200 OK 75ms]
GEThttps://nextcloud.minnix.dev/ocs/v2.php/apps/notifications/api/v2/notifications
GETwss://allnightlong.minnix.dev/api/v1/activity?token=null
[HTTP/1.1 200 OK 70ms]
XHRGEThttps://allnightlong.minnix.dev/media/__sized__/attachments/95/8f/1f/attachment_cover-7f19946a-ceac-4c4c-af5b-f4560ecb56fb-crop-c0-5__0-5-200x200-95.jpg
[HTTP/2 403 Forbidden 8ms]
GEThttps://allnightlong.minnix.dev/media/__sized__/attachments/95/8f/1f/attachment_cover-7f19946a-ceac-4c4c-af5b-f4560ecb56fb-crop-c0-5__0-5-200x200-95.jpg
[HTTP/1.1 403 Forbidden 0ms]
GEThttps://allnightlong.minnix.dev/api/v1/listen/c8db1331-c73f-459d-b66f-b3973a5d882b/?upload=da1af075-82bd-41ec-b809-caf399f7a79b&token=eyJ1c2VyX2lkIjoxLCJ1c2VyX3NlY3JldCI6IjQ4MDNhMzBkLWExOWQtNGIxZC1iNWQ3LWRiNzliMTQ0ZDU0ZCIsInNjb3BlcyI6WyJyZWFkOmxpYnJhcmllcyJdfQ:1n07ap:UHi1tegNxEW3kVCAV_IzzUpg5fk
[HTTP/2 403 Forbidden 45ms]
GETwss://allnightlong.minnix.dev/api/v1/activity?token=null
[HTTP/1.1 200 OK 70ms]
This is what I get if I right click to view the missing artwork image
"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
And if I click to open album in a new tab
"https://allnightlong.minnix.dev/library/albums/4/"