### Environment variables for add-on connections Source: https://snapdeploy.dev/docs/addon-services Connection details are automatically injected as environment variables when an add-on is provisioned. The example shows the variable names and URL formats for Redis, PostgreSQL, MySQL, and MongoDB. ```plaintext # Redis REDIS_URL=redis://user:pass@host:6379 # PostgreSQL DATABASE_URL=postgres://user:pass@host:5432/db # MySQL MYSQL_URL=mysql://user:pass@host:3306/db # MongoDB MONGODB_URI=mongodb://user:pass@host:27017/db ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.