mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: add the --ephemeral server flag (#16126)
Another PR to address https://github.com/coder/coder/issues/15109. Changes: - Introduces the `--ephemeral` flag, which changes the Coder config directory to a temporary location. The config directory is where the built-in PostgreSQL stores its data, so using a new one results in a deployment with a fresh state. The `--ephemeral` flag is set to replace the `--in-memory` flag once the in-memory database is removed.
This commit is contained in:
+4
@@ -446,6 +446,10 @@ cacheDir: [cache dir]
|
||||
# Controls whether data will be stored in an in-memory database.
|
||||
# (default: <unset>, type: bool)
|
||||
inMemoryDatabase: false
|
||||
# Controls whether Coder data, including built-in Postgres, will be stored in a
|
||||
# temporary directory and deleted when the server is stopped.
|
||||
# (default: <unset>, type: bool)
|
||||
ephemeralDeployment: false
|
||||
# Type of auth to use when connecting to postgres. For AWS RDS, using IAM
|
||||
# authentication (awsiamrds) is recommended.
|
||||
# (default: password, type: enum[password\|awsiamrds])
|
||||
|
||||
Reference in New Issue
Block a user