Environment

The environment provider (env) allows the use of environment variables as a source of credentials.

Examples

 

version: "2"
services:
  pg_tcp:
    protocol: pg
    listenOn: tcp://0.0.0.0:5454
    credentials:
      address: "localhost:5432"
      password:
        from: env
        get: QUICKSTART_USERNAME
      username:
        from: env
        get: QUICKSTART_PASSWORD
 
9.7