mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-10 06:51:13 +00:00
Added medium syndication metadata
This commit is contained in:
parent
79329aae66
commit
387dd491b1
30 changed files with 175 additions and 134 deletions
|
@ -1,10 +1,12 @@
|
|||
---
|
||||
title: "Docker Secrets"
|
||||
date: 2022-02-04T23:59:13-05:00
|
||||
date: 2022-02-04 23:59:13-05:00
|
||||
draft: false
|
||||
tags: ["Containers"]
|
||||
math: false
|
||||
medium_enabled: true
|
||||
medium_post_id: 58cc9e00b1a7
|
||||
tags:
|
||||
- Containers
|
||||
title: Docker Secrets
|
||||
---
|
||||
|
||||
I try to keep secrets such as passwords and keys out in their own separate files so that I can `.gitignore` them and commit the rest of my configuration. With `docker-compose` we can do that with the `env_file` field. Here is an example with a postgres configuration:
|
||||
|
@ -26,5 +28,4 @@ Then in `Volumes/database/docker.env` I can have a file with the secrets as key-
|
|||
POSTGRES_USER=user
|
||||
POSTGRES_PASSWORD=389ed93045c84cc0828c4310e6ef76ce
|
||||
POSTGRES_DB=database
|
||||
```
|
||||
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue