|
|
@@ -118,6 +118,19 @@ If you would only like to update the configuration for your application via a `v
|
|
|
porter update config --app [app-name] --values [values-file]
|
|
|
```
|
|
|
|
|
|
+For example, to update the app `web-test`, and to programmatically set the environment variables for that application, create a file called `web-test-values.yaml` with the following structure:
|
|
|
+
|
|
|
+```yaml
|
|
|
+container:
|
|
|
+ env:
|
|
|
+ normal:
|
|
|
+ TESTING: test-from-cli
|
|
|
+```
|
|
|
+
|
|
|
+If I then run `porter update config --app web-test --values web-test-values.yaml`, I will now see the new values in the application:
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
# Common Configuration Options
|
|
|
|
|
|
## Container Port
|
|
|
@@ -150,7 +163,7 @@ This configuration only applies to `web` applications.
|
|
|
```yaml
|
|
|
ingress:
|
|
|
custom_domain: true
|
|
|
- custom_paths:
|
|
|
+ hosts:
|
|
|
- my-app.example.com
|
|
|
```
|
|
|
|