Rename 1Password Vault
This commit is contained in:
@@ -45,8 +45,8 @@ job "postgres" {
|
||||
}
|
||||
|
||||
env = {
|
||||
POSTGRES_USER="op://InfraSecrets/Postgres Root/username",
|
||||
POSTGRES_PASSWORD="op://InfraSecrets/Postgres Root/password"
|
||||
POSTGRES_USER="op://Homelab/Postgres Root/username",
|
||||
POSTGRES_PASSWORD="op://Homelab/Postgres Root/password"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@ If you want to deploy this, you will need to verify you have a valid host volume
|
||||
| --- | --- | --- |
|
||||
| 17 | `source = "postgres"` | Change `postgres` to a valid host volume name |
|
||||
| 38 | `volume = "postgres-data"` | Change `postgres-data` to the host volume defined on line 15 if applicable |
|
||||
| 48 | `"POSTGRES_USER"="op://InfraSecrets/Postgres Root/username"` | Change the value to the root username you want. By default, this is a 1password path. See [Managing Secrets](../../README.md#managing-secrets) for more information |
|
||||
| 49 | `"POSTGRES_PASSWORD"="op://InfraSecrets/Postgres Root/password"` | Change the value to the root password you want. By default, this is a 1password path. See [Managing Secrets](../../README.md#managing-secrets) for more information |
|
||||
| 48 | `"POSTGRES_USER"="op://Homelab/Postgres Root/username"` | Change the value to the root username you want. By default, this is a 1password path. See [Managing Secrets](../../README.md#managing-secrets) for more information |
|
||||
| 49 | `"POSTGRES_PASSWORD"="op://Homelab/Postgres Root/password"` | Change the value to the root password you want. By default, this is a 1password path. See [Managing Secrets](../../README.md#managing-secrets) for more information |
|
||||
|
||||
|
||||
## Make a New Database
|
||||
@@ -33,4 +33,4 @@ CREATE USER appname WITH PASSWORD 'not-a-secure-password';
|
||||
CREATE DATABASE appname WITH OWNER appname;
|
||||
```
|
||||
|
||||
The user and database can be the same name because they are records in different tables but feel free to make them whatever you think is best.
|
||||
The user and database can be the same name because they are records in different tables but feel free to make them whatever you think is best.
|
||||
|
||||
Reference in New Issue
Block a user