CLean up site generation
This commit is contained in:
45
docs/services/devbox.md
Normal file → Executable file
45
docs/services/devbox.md
Normal file → Executable file
@@ -1,42 +1,15 @@
|
||||
# devbox
|
||||
|
||||
> Auto-generated from `docker-compose.yml`
|
||||
> This page auto-includes the service configuration files.
|
||||
|
||||
| Field | Value |
|
||||
|-------|-------|
|
||||
| **Image** | `devbox-devcontainer` |
|
||||
| **Container** | `devcontainer` |
|
||||
| **Restart** | `unless-stopped` |
|
||||
## Docker Compose Configuration
|
||||
|
||||
### Environment
|
||||
```yaml
|
||||
--8<-- "devbox/docker-compose.yml"
|
||||
```
|
||||
|
||||
**Env files:** `../.env`
|
||||
## Environment Variables (`.env.example`)
|
||||
|
||||
### Secrets (from `.env.example`)
|
||||
|
||||
These variables must be set in the service's `.env` file:
|
||||
|
||||
| Variable | Default |
|
||||
|----------|---------|
|
||||
| `DEVBOX_SSH_PORT` | `46573` |
|
||||
| `DEVBOX_MEM_LIMIT` | `10g` |
|
||||
| `DEVBOX_SWAP_LIMIT` | `20g` |
|
||||
|
||||
### Ports
|
||||
|
||||
| Host | Container | Protocol |
|
||||
|------|-----------|----------|
|
||||
| `${DEVBOX_SSH_PORT:-46573}` | `2222` | tcp |
|
||||
|
||||
### Volumes
|
||||
|
||||
| Host Path | Container Path | Mode |
|
||||
|-----------|----------------|------|
|
||||
| `${STORAGE_PATH}/devbox` | `/home/devuser` | rw |
|
||||
|
||||
### Resources
|
||||
|
||||
- Memory limit: `${DEVBOX_MEM_LIMIT:-10g}`
|
||||
- Memory+Swap limit: `${DEVBOX_SWAP_LIMIT:-20g}`
|
||||
|
||||
---
|
||||
```bash
|
||||
--8<-- "devbox/.env.example"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user