Skip to main content

Environment Variable Configuration

Overview

Portabase provides a range of environment variables that allow you to customize and configure various aspects of the application. This page serves as a comprehensive reference for all available environment variables, including their types, default values, and descriptions.

Database

DATABASE_URL

  • Type: string
  • Default Setting: postgresql://devuser:changeme@db:5432/devdb?schema=public
  • Description: This setting is for the database connexion.

POSTGRES_DB

  • Type: string
  • Default Setting: devdb
  • Description: This is the db name.

POSTGRES_USER

  • Type: string
  • Default Setting: devuser
  • Description: This is the db user.

POSTGRES_PASSWORD

  • Type: string
  • Default Setting: changeme
  • Description: This is the db password.

Project

NEXT_PUBLIC_PROJECT_NAME

  • Type: string
  • Default Setting: Portabase
  • Description: This setting is for the project name.

NEXT_PUBLIC_PROJECT_DESCRIPTION

  • Type: string
  • Default Setting: Manage all your database instances from one place !
  • Description: This setting is for the project baseline.

NEXT_PUBLIC_PROJECT_URL

  • Type: string
  • Default Setting: http://localhost:8887
  • Description: This setting is for the domain nome.

PROJECT_SECRET

  • Type: string
  • Default Setting: None
  • Description: This setting is for the internal project secret.

TIME_ZONE

  • Type: string
  • Default Setting: Europe/Paris
  • Description: This setting is for the Time Zone.

Email

SMTP_PASSWORD

  • Type: string
  • Default Setting: None
  • Description: Your smtp password for sending email.

SMTP_FROM

  • Type: string
  • Default Setting: None
  • Description: Your smtp email from for sending email.

SMTP_HOST

  • Type: string
  • Default Setting: None
  • Description: Your smtp email server for sending email.

SMTP_PORT

  • Type: string
  • Default Setting: None
  • Description: Your smtp email port for sending email.

SMTP_USER

  • Type: string
  • Default Setting: None
  • Description: Your smtp email for sending email.

Google OAuth

AUTH_GOOGLE_ID

  • Type: string
  • Default Setting: None
  • Description: Your Google id for oauth with Google.

AUTH_GOOGLE_SECRET

  • Type: string
  • Default Setting: None
  • Description: Your Google secret for oauth with Google.

Storage

STORAGE_TYPE

  • Type: string
  • Default Setting: local
  • Description: Your storage setting (local or s3).

S3_ENDPOINT

  • Type: string
  • Default Setting: api.s3.portabase.exemple.com
  • Description: Your s3 url.

S3_ACCESS_KEY

  • Type: string
  • Default Setting: None
  • Description: Your s3 access key.

S3_SECRET_KEY

  • Type: string
  • Default Setting: None
  • Description: Your s3 secret key.

S3_BUCKET_NAME

  • Type: string
  • Default Setting: None
  • Description: Your s3 bucket name.

S3_PORT

  • Type: string
  • Default Setting: 9000
  • Description: Your s3 port.

S3_USE_SSL

  • Type: string
  • Default Setting: false
  • Description: Your s3 ssl setting.