POSTGRES_HOST | db | (With Docker compose) Host name of the postgres server |
POSTGRES_DB | lago | (With Docker compose) Name of the postgres database |
POSTGRES_USER | lago | (With Docker compose) Database user for postgres connection |
POSTGRES_PASSWORD | changeme | (With Docker compose) Database password for postgres connection |
POSTGRES_PORT | 5432 | (With Docker compose) Port the postgres database listens to |
POSTGRES_SCHEMA | public | Name of the postgres schema |
DATABASE_URL | | (Without docker compose) Full url to the postgres server |
DATABASE_POOL | 10 | Max number of connection opened to the postgres database per api, worker and clock instances |
DATABASE_PREPARED_STATEMENTS | true | Enable or disable prepared statements in the postgres database |
REDIS_HOST | redis | Host name of the redis server |
REDIS_PORT | 6379 | Port the redis database listens to |
REDIS_PASSWORD | | Password of the redis server |
LAGO_REDIS_CACHE_HOST | redis | Host name of the redis cache server |
LAGO_REDIS_CACHE_PORT | 6379 | Port the redis cache server listens to |
LAGO_REDIS_CACHE_PASSWORD | | Password of the redis cache server |
LAGO_REDIS_CACHE_POOL_SIZE | 5 | Max number of connections in the redis cache connection pool |
LAGO_MEMCACHE_SERVERS | | Coma separated list of memcache servers |
LAGO_FRONT_URL | http://localhost | URL of the Lago front-end application.Used for CORS configuration |
FRONT_PORT | 80 | Port the front-end application listens to |
LAGO_API_URL | http://localhost:3000 | URL of the Lago back-end application |
API_URL | http://localhost:3000 | URL of the Lago back-end application defined for the front image |
API_PORT | 3000 | Port the back-end application listens to |
SECRET_KEY_BASE | your-secret-key-base-hex-64 | Secret key used for session encryption |
SENTRY_DSN | | Sentry DSN key for error and performance tracking on Lago back-end |
SENTRY_DSN_FRONT | | Sentry DSN key for error and performance tracking on Lago front-end |
LAGO_RSA_PRIVATE_KEY | | Private key used for webhook signatures |
LAGO_SIDEKIQ_WEB | | Activate the Sidekiq web UI, disabled by default |
LAGO_ENCRYPTION_PRIMARY_KEY | your-encryption-primary-key | Encryption primary key used to secure sensitive values stored in the database |
LAGO_ENCRYPTION_DETERMINISTIC_KEY | your-encryption-deterministic-key | Encryption deterministic key used to secure sensitive values stored in the database |
LAGO_ENCRYPTION_KEY_DERIVATION_SALT | your-encryption-derivation-salt | Encryption key salt used to secure sensitive values stored in the database |
LAGO_WEBHOOK_ATTEMPTS | 3 | Number of failed attempt before stopping to deliver a webhook |
LAGO_USE_AWS_S3 | false | Use AWS S3 for files storage |
LAGO_AWS_S3_ACCESS_KEY_ID | azerty123456 | AWS Access Key id that has access to S3 |
LAGO_AWS_S3_SECRET_ACCESS_KEY | azerty123456 | AWS Secret Access Key that has access to S3 |
LAGO_AWS_S3_REGION | us-east-1 | AWS S3 Region |
LAGO_AWS_S3_BUCKET | bucket | AWS S3 Bucket name |
LAGO_AWS_S3_ENDPOINT | | S3 compatible storage endpoint. Should be set only if you are using another storage provider than AWS S3 |
LAGO_USE_GCS | false | Use Google Cloud Service Cloud Storage for file storage, ⚠️ If you want to use GCS, you have to pass the credentials json key file to the api and worker service |
LAGO_GCS_PROJECT | | GCS Project name |
LAGO_GCS_BUCKET | | GCS Bucket Name |
LAGO_PDF_URL | http://pdf:3000 | PDF Service URL on your infrastructure |
LAGO_DISABLE_SIGNUP | | Disable Sign up when running Lago in self-hosted |
LAGO_RAILS_STDOUT | true | Set to true to activate logs on containers |
LAGO_DISABLE_WALLET_REFRESH | | Disable automatic refresh of wallet ongoing balance |
LAGO_DISABLE_PDF_GENERATION | false | Disable automatic PDF generation for invoices, credit notes, and receipts. As a result, the corresponding download endpoints will be unavailable |
GOOGLE_AUTH_CLIENT_ID | | Client ID for Google auth Single Sign On |
GOOGLE_AUTH_CLIENT_SECRET | | Client Secret for Google auth Single Sign On |