From 21b317e4f1810ad7e2cd04b332ebd0b2347dc17b Mon Sep 17 00:00:00 2001 From: killianlarcher Date: Sat, 17 Jan 2026 17:44:31 +0100 Subject: [PATCH 1/2] fix: Update .env.example and docker-compose.yml for local development configuration --- .env.example | 18 +++++++++--------- docker-compose.yml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.env.example b/.env.example index 3e76d4b..a931036 100644 --- a/.env.example +++ b/.env.example @@ -1,18 +1,18 @@ # Environnement -NODE_ENV=production +NODE_ENV=development # Base de données -DATABASE_URL=postgresql://devuser:changeme@db:5432/devdb?schema=public +DATABASE_URL=postgresql://devuser:changeme@localhost:5432/devdb?schema=public # Projet PROJECT_NAME="Portabase" PROJECT_DESCRIPTION="Portabase is a powerful database manager" -PROJECT_URL=http://app.portabase.io +PROJECT_URL=http://localhost:8887 PROJECT_SECRET= # SMTP (email) SMTP_HOST= -SMTP_PORT=587 +SMTP_PORT= SMTP_USER= SMTP_PASSWORD= SMTP_FROM= @@ -23,14 +23,14 @@ AUTH_GOOGLE_SECRET= AUTH_GOOGLE_METHOD= # S3 -S3_ENDPOINT=http://app.s3.portabase.io +S3_ENDPOINT= S3_ACCESS_KEY= S3_SECRET_KEY= -S3_BUCKET_NAME=portabase -S3_PORT=9000 -S3_USE_SSL=true +S3_BUCKET_NAME= +S3_PORT= +S3_USE_SSL= -# Storage Type (s3, local) +# Storage type (local, S3) STORAGE_TYPE=local # Retention diff --git a/docker-compose.yml b/docker-compose.yml index a444beb..dac5796 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: db: image: postgres:16-alpine ports: - - "5433:5432" + - "5432:5432" volumes: - postgres-data:/var/lib/postgresql/data environment: From 760388307cbca377c2708ff5c0f8815d8897da36 Mon Sep 17 00:00:00 2001 From: killianlarcher Date: Sat, 17 Jan 2026 20:40:57 +0100 Subject: [PATCH 2/2] fix(ui): reduce opacity on avatar hover and add bottom padding to profile modal --- .../wrappers/dashboard/common/profile/profile-modal.tsx | 2 +- .../dashboard/profile/components/avatar-with-upload.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/wrappers/dashboard/common/profile/profile-modal.tsx b/src/components/wrappers/dashboard/common/profile/profile-modal.tsx index 9fa9991..6290eaf 100644 --- a/src/components/wrappers/dashboard/common/profile/profile-modal.tsx +++ b/src/components/wrappers/dashboard/common/profile/profile-modal.tsx @@ -26,7 +26,7 @@ type ProfileModalProps = { export const ProfileModal = ({ user, sessions, currentSession, accounts, open, onOpenChange, providers }: ProfileModalProps) => { return ( - + Settings Manage your account settings diff --git a/src/components/wrappers/dashboard/profile/components/avatar-with-upload.tsx b/src/components/wrappers/dashboard/profile/components/avatar-with-upload.tsx index 4c1cb9e..df91e98 100644 --- a/src/components/wrappers/dashboard/profile/components/avatar-with-upload.tsx +++ b/src/components/wrappers/dashboard/profile/components/avatar-with-upload.tsx @@ -70,7 +70,7 @@ export const AvatarWithUpload = (props: AvatarWithUploadProps) => { fileInput.onchange = handleImageUpload; fileInput.click(); }} - className="cursor-pointer absolute inset-0 flex justify-center items-center opacity-0 transition-opacity hover:opacity-100 hover:bg-gray-500 hover:bg-opacity-50 rounded-full w-24 h-24 lg:w-32 lg:h-32" + className="cursor-pointer absolute inset-0 flex justify-center items-center opacity-0 transition-opacity hover:opacity-30 hover:bg-gray-500 hover:bg-opacity-50 rounded-full w-24 h-24 lg:w-32 lg:h-32" >