fix(elixir): file upload in production

- move uploads to new directory (`./uploads` per default)
This commit is contained in:
Schuwi
2025-09-16 23:16:02 +02:00
parent fa9bf74fd9
commit 76b0a97d31
8 changed files with 103 additions and 15 deletions

View File

@@ -25,9 +25,12 @@ services:
PHX_HOST: "localhost"
PHX_SERVER: "true"
PORT: "4000"
UPLOADS_DIR: "/data/uploads"
depends_on:
db:
condition: service_healthy
volumes:
- uploaded_files:/data/uploads
command:
[
"/bin/sh",
@@ -37,3 +40,4 @@ services:
volumes:
postgres_data:
uploaded_files: