43 lines
855 B
Markdown
43 lines
855 B
Markdown
# devbox
|
|
|
|
> Auto-generated from `docker-compose.yml`
|
|
|
|
| Field | Value |
|
|
|-------|-------|
|
|
| **Image** | `devbox-devcontainer` |
|
|
| **Container** | `devcontainer` |
|
|
| **Restart** | `unless-stopped` |
|
|
|
|
### Environment
|
|
|
|
**Env files:** `../.env`
|
|
|
|
### 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}`
|
|
|
|
---
|