You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,13 @@ Today DevCloud targets **AWS**. Our long-term goal is to support the full range
23
23
24
24
## Features
25
25
26
-
-**96 AWS services scaffolded** — 4,438 operations across all major categories (see [services-matrix.md](docs/services-matrix.md))
26
+
-**101 AWS services scaffolded** — 4,451 operations across all major categories (run `make stats` to verify; see [services-matrix.md](docs/services-matrix.md))
27
27
-**96% boto3 compatibility** — 671/699 SDK tests pass; works with most boto3 apps
Copy file name to clipboardExpand all lines: docs/configuration.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,13 @@ To override defaults, provide a YAML file. DevCloud looks for config in this ord
8
8
2.`./devcloud.yaml` in the current working directory (auto-detected)
9
9
3. Embedded defaults (used when neither of the above is present)
10
10
11
-
Environment variables override YAML values for selected keys (see [Environment Variable Overrides](#environment-variable-overrides)).
11
+
Environment variables override YAML values for selected keys (see [Environment Variable Overrides](#environment-variable-overrides)). All three env vars follow the same precedence: **env var wins over YAML, YAML wins over embedded default**.
12
+
13
+
| Variable | Overrides | Description |
14
+
|----------|-----------|-------------|
15
+
|`DEVCLOUD_PORT`|`server.port`| HTTP server port |
16
+
|`DEVCLOUD_SERVICES`|`services.*.enabled`| Comma-separated list of services to enable |
17
+
|`DEVCLOUD_DATA_DIR`|`services.*.data_dir`| Base data directory for all services |
12
18
13
19
## Configuration File
14
20
@@ -92,9 +98,21 @@ logging:
92
98
93
99
## Environment Variable Overrides
94
100
101
+
### `DEVCLOUD_PORT`
102
+
103
+
Overrides the HTTP server port.
104
+
105
+
```bash
106
+
# Run on port 8080 instead of 4747
107
+
DEVCLOUD_PORT=8080 ./dist/devcloud
108
+
109
+
# With Docker (map the host port accordingly)
110
+
docker run -p 8080:8080 -e DEVCLOUD_PORT=8080 ghcr.io/skyoo2003/devcloud:latest
111
+
```
112
+
95
113
### `DEVCLOUD_SERVICES`
96
114
97
-
Comma-separated list of services to enable. All other services listed in the config file are disabled. Accepts individual service names and tier shortcuts.
115
+
Comma-separated list of services to enable. When set, **only** the listed services are enabled — all others are disabled regardless of their `enabled` setting in YAML. When not set, each service uses its YAML `enabled` value (or the embedded default of `true`).
98
116
99
117
**Tier shortcuts** (expand to predefined service groups — see [`internal/config/config.go`](https://github.com/skyoo2003/devcloud/blob/main/internal/config/config.go) for the exact list):
Overrides the base data directory for **all** services. Each service's `data_dir` becomes `<DEVCLOUD_DATA_DIR>/<service_name>` regardless of what's in the YAML file.
144
+
Overrides the base data directory for **all** services. When set, every service uses `<DEVCLOUD_DATA_DIR>/<service_name>` — per-service `data_dir` values in YAML are ignored. When not set, each service falls back to its YAML `data_dir` value (or the embedded default).
0 commit comments