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.

General

DOMAIN_NAME

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

DATABASE_URL

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

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_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.