Jackson
Jackson
RRailway
Created by Jackson on 11/28/2023 in #✋|help
Django (Wagtail) Media Files
Id: ee4f252f-387a-4b2c-999a-0af6f926854e I am having trouble setting up a volume to serve the media files uploaded by a Wagtail admin user. The PostgreSQL database template comes with a volume 'pgdata' by default. I tried attaching another volume to my production service called 'media' with path '/media/' as well as '/app/media/'. Neither worked. I even tried setting the MEDIA_URL to the database's PGDATA variable which is 'var/lib/postgresql/pgdata/' I know I am missing something. Thanks!
15 replies