XBimmers.com | BMW X6 Forum X5 Forum   .secrets
TireRack
.secrets
.secrets
.secrets
.secrets

Go Back   XBimmers.com | BMW X6 Forum X5 Forum > BMW X5 Forums > General BMW X5 (E70) and X5M Forum (2006-2013)

 
 
Thread Tools

.secrets

version: "3.9" services: web: build: . env_file: - .secrets # injected into container at runtime ports: - "8000:8000"

/.secrets/ After adding the rule, run git status to verify that the file is listed under “untracked files” and not under “changes to be committed”. 5. Load the secrets in your code Below are examples for several popular languages/frameworks. .secrets

# .gitignore .secrets .secrets/ .secrets.* If you’re using a : version: "3

my‑project/ │ ├─ src/ ├─ tests/ ├─ .gitignore └─ .. (outside) .secrets Add a rule to your .gitignore (or the ignore file of whatever VCS you use): Load the secrets in your code Below are

# 1️⃣ Ensure the file exists and is chmod 600 touch .secrets && chmod 600 .secrets

# Secrets .secrets .secrets.* (using an env file)

# 2️⃣ Add your key/value pairs echo "DB_PASSWORD=SuperSecret123!" >> .secrets

 

Bookmarks
Thread Tools

.secrets Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 05:49 PM.




xbimmers
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST