mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 03:13:16 +00:00
chore: drop container labels from cadvisor, require webtop CUSTOM_USER, trim env template comments
This commit is contained in:
1 parent
4c5c6ed17e
commit
042d6bd6c0
8 files changed
+12
-21
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ network to reach the proxy over.
|
||||
| Source | Component | Notes |
|
||||
|---|---|---|
|
||||
| Host metrics | `prometheus.exporter.unix` | CPU, memory, load, disk I/O, filesystem, network, uname, boot time, systemd, vmstat, sockstat — the default collector set minus `ipvs/btrfs/infiniband/xfs/zfs` |
|
||||
| Container metrics | `prometheus.exporter.cadvisor` | CPU, memory, fs usage/limit, network, `last_seen` |
|
||||
| Container metrics | `prometheus.exporter.cadvisor` | CPU, memory, fs usage/limit, network, `last_seen`. Docker labels are not copied onto the series (`store_container_labels = false`): Coolify gives its containers 50–80 labels, which pushes series past Grafana Cloud's 60-label limit and gets them rejected |
|
||||
| Container logs | `loki.source.docker` | All running containers, labeled `container`, `stream`, `instance` |
|
||||
| Journal logs | `loki.source.journal` | systemd journal, labeled `unit`, `boot_id`, `transport`, `level` |
|
||||
| File logs | `loki.source.file` | `/var/log/syslog`, `/var/log/messages`, `/var/log/*.log` |
|
||||
|
||||
+3
-2
@@ -210,8 +210,9 @@ configs:
|
||||
}
|
||||
|
||||
prometheus.exporter.cadvisor "integrations_cadvisor" {
|
||||
docker_only = true
|
||||
docker_host = "tcp://127.0.0.1:2375"
|
||||
docker_only = true
|
||||
store_container_labels = false
|
||||
docker_host = "tcp://127.0.0.1:2375"
|
||||
}
|
||||
discovery.relabel "integrations_cadvisor" {
|
||||
targets = prometheus.exporter.cadvisor.integrations_cadvisor.targets
|
||||
|
||||
@@ -12,7 +12,6 @@ GIT_NAME=
|
||||
GIT_EMAIL=
|
||||
|
||||
# Container hostname, also passed in as HOST -- the name zsh's prompt shows.
|
||||
# Not named HOSTNAME: the deploying shell's own HOSTNAME would override it.
|
||||
SERVICE_HOSTNAME=code-server-lsio
|
||||
|
||||
# Name of the installed web app.
|
||||
|
||||
@@ -11,7 +11,6 @@ GIT_NAME=
|
||||
GIT_EMAIL=
|
||||
|
||||
# Container hostname, also passed in as HOST -- the name zsh's prompt shows.
|
||||
# Not named HOSTNAME: the deploying shell's own HOSTNAME would override it.
|
||||
SERVICE_HOSTNAME=code-server
|
||||
|
||||
# Name shown in the title bar and welcome page.
|
||||
|
||||
+1
-3
@@ -2,13 +2,11 @@
|
||||
#
|
||||
# cp .env.example .env
|
||||
|
||||
# Bearer token for the gateway API and dashboard. MUST NOT be blank -- a blank
|
||||
# token serves the agent gateway, and the tools its agents can run, to anyone.
|
||||
# Bearer token for the gateway API and dashboard. Required.
|
||||
# Generate one with: openssl rand -hex 16
|
||||
GOCLAW_GATEWAY_TOKEN=
|
||||
|
||||
# AES-256-GCM key encrypting the LLM provider keys stored in PostgreSQL.
|
||||
# Changing it makes every stored key unreadable.
|
||||
# Generate one with: openssl rand -hex 32
|
||||
GOCLAW_ENCRYPTION_KEY=
|
||||
|
||||
|
||||
+4
-10
@@ -11,16 +11,12 @@ PASEO_PASSWORD=
|
||||
# Coolify/Dokploy must be listed here. IPs and localhost are always allowed.
|
||||
PASEO_HOSTNAMES=
|
||||
|
||||
# Proxy source IPs whose X-Forwarded-Proto the daemon trusts. Without this it
|
||||
# trusts loopback only, reads the request as plain HTTP behind Coolify/Dokploy,
|
||||
# and tells the web UI to open ws:// from an HTTPS page -- which browsers block.
|
||||
# `uniquelocal` covers the private ranges Docker bridge networks use.
|
||||
# Proxy source IPs whose X-Forwarded-Proto the daemon trusts.
|
||||
PASEO_TRUSTED_PROXIES=uniquelocal
|
||||
|
||||
# Agent CLIs to install on start, if not already present. Space- or
|
||||
# comma-separated, from: claude codex opencode copilot omp pi. Leave empty to
|
||||
# install none. The first start with a new paseo-home volume downloads a few
|
||||
# hundred MB per agent and takes a while; later starts only check.
|
||||
# install none.
|
||||
AGENTS=claude codex
|
||||
|
||||
# Git identity for agents and terminals, as author and committer. git reads
|
||||
@@ -28,8 +24,6 @@ AGENTS=claude codex
|
||||
GIT_NAME=
|
||||
GIT_EMAIL=
|
||||
|
||||
# Container hostname, shown as the host label in the web UI. Without it the
|
||||
# label is a random container ID. Also passed in as HOST -- the name zsh's
|
||||
# prompt shows. Not named HOSTNAME: the deploying shell's own HOSTNAME would
|
||||
# override it.
|
||||
# Container hostname, shown as the host label in the web UI. Also passed in as
|
||||
# HOST -- the name zsh's prompt shows.
|
||||
SERVICE_HOSTNAME=paseo
|
||||
+2
-2
@@ -25,11 +25,11 @@ The image's own HTTPS port `3001`, with a self-signed certificate, is unused.
|
||||
|
||||
| Variable | Default | Purpose |
|
||||
| --- | --- | --- |
|
||||
| `CUSTOM_USER` / `PASSWORD` | `miti99` / — | Login for the web desktop |
|
||||
| `CUSTOM_USER` / `PASSWORD` | — | Login for the web desktop |
|
||||
| `TZ` | `Asia/Ho_Chi_Minh` | Desktop timezone |
|
||||
| `TITLE` | optional | Browser tab title |
|
||||
|
||||
`PASSWORD` is required: without it the image serves the desktop, with a
|
||||
`CUSTOM_USER` and `PASSWORD` are required. Without `PASSWORD` the image serves the desktop, with a
|
||||
shell and `sudo`, to anyone who opens the domain.
|
||||
|
||||
`PUID`/`PGID` are pinned to `1000` in `compose.yml`; the `Dockerfile` depends
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ services:
|
||||
restart: unless-stopped
|
||||
shm_size: 1gb
|
||||
environment:
|
||||
- CUSTOM_USER=${CUSTOM_USER:-miti99}
|
||||
- CUSTOM_USER=${CUSTOM_USER:?required}
|
||||
- PASSWORD=${PASSWORD:?required}
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
|
||||
Reference in new issue
Block a user