Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 750 Bytes

doopler.md

File metadata and controls

18 lines (13 loc) · 750 Bytes

Configure service token in VM

This is the best option for Virtual Machines as it restricts which directory secrets can be fetched from and no additional configuration is required once registered (e.g. will persist across machine restarts).

# Prevent configure command being leaked in bash history
export HISTIGNORE='doppler*'

# Scope to location of application directory
echo 'dp.st.prd.xxxx' | doppler configure set token --scope /usr/src/app

# Supply secrets to your application
cd /usr/src/app
doppler run -- your-command-here

Environment variables in docker compose