Layer Integration - Doppler
Doppler is a Universal Secrets Manager, a central source of truth for app config and secrets like API keys, database urls, certs, feature flags, and other environment variables. It works seamlessly from local development to production on every language, stack, and infrastructure.
FROM vm/ubuntu:18.04 # Install Doppler RUN (curl -Ls https://cli.doppler.com/install.sh || wget -qO- https://cli.doppler.com/install.sh) | sh COPY . . # Load several Doppler tokens from Layer SECRET ENV DOPPLER_TOKEN_PREVIEW SECRET ENV DOPPLER_TOKEN_PRODUCTION # Test Doppler secrets access for both RUN doppler -t $DOPPLER_TOKEN_PREVIEW run -- printenv | grep DOPPLER # Testing purposes only RUN doppler -t $DOPPLER_TOKEN_PRODUCTION run -- printenv | grep DOPPLER # Testing purposes only
Setting up Doppler with Layer
Information on how to integrate Doppler with your Layer pipeline can be found here.