diff --git a/.env.example b/.env.example index 127f3df..3f8841b 100644 --- a/.env.example +++ b/.env.example @@ -5,5 +5,5 @@ DATABASE_URL= AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= -AWS_S3_ENDPOINT= +VITE_AWS_S3_ENDPOINT= AWS_REGION= \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index f7fc16e..6a5305a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,9 +11,9 @@ services: - SKIP_DB_WAIT=false - AWS_ACCESS_KEY_ID=minioadmin - AWS_SECRET_ACCESS_KEY=minioadmin - - AWS_S3_ENDPOINT=http://minio:9000 - # MINIO_CLIENT_OVERRIDE: Only necessary if using minio here with this docker compose file. This is becaues the client needs a different endpoint than the server because its not in the docker network. - - MINIO_CLIENT_OVERRIDE=http://localhost:9000 + - VITE_AWS_S3_ENDPOINT=http://minio:9000 + # VITE_MINIO_CLIENT_OVERRIDE: Only necessary if using minio here with this docker compose file. This is becaues the client needs a different endpoint than the server because its not in the docker network. + - VITE_MINIO_CLIENT_OVERRIDE=http://localhost:9000 - BODY_SIZE_LIMIT=Infinity # change this to a smaller value if you want to limit the size of uploaded files! depends_on: diff --git a/src/lib/components/UserAvatar.svelte b/src/lib/components/UserAvatar.svelte index 949b549..0470f9d 100644 --- a/src/lib/components/UserAvatar.svelte +++ b/src/lib/components/UserAvatar.svelte @@ -1,6 +1,7 @@