compose-apps
/compose-apps
Wdraża samodzielnie hostowaną aplikację z pliku docker-compose lub gotowych obrazów, np. Mattermost, Gitea czy Nextcloud.
- Autor
- xarantolus ↗
- Repozytorium
- botler ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wdraża samodzielnie hostowaną aplikację z pliku docker-compose lub gotowych obrazów, np. Mattermost, Gitea czy Nextcloud.
Oryginalny opis (EN)
Deploy a self-hosted app that ships as a docker-compose file or upstream images (Mattermost, Gitea, Nextcloud, a database). Use when the user wants such an app running for them.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 34 linii, 373 słów
Podgląd SKILL.md
---
name: compose-apps
description: Deploy a self-hosted app that ships as a docker-compose file or upstream images (Mattermost, Gitea, Nextcloud, a database). Use when the user wants such an app running for them.
---
# Apps from a docker-compose file
There is no `docker compose` here: each compose service becomes one botler service
(`jobs/<name>/job.toml`, `lifetime = "service"`), so each gets the hub's supervision, restarts,
secrets and approvals. Use the upstream images as they are; write a Dockerfile only when the image
really needs changing.
| compose | job.toml |
|---|---|
| `image: postgres:16-alpine` | `from = "docker.io/library/postgres:16-alpine"` (fully qualified, a version tag or digest, never `latest`) |
| `command:` / `entrypoint:` | `command = [...]` (omit for the image's own) |
| `environment:` (plain settings) | `environment = { POSTGRES_DB = "app" }` |
| `environment:` (passwords, tokens) | a secret group: `secrets = ["app-db"]` (ask with `request_secrets`); its keys arrive as environment variables |
| `depends_on:` / reaching `db:5432` | `services = ["app-db"]` in the dependent; it reaches `http://app-db:5432` (or plain TCP) by name |
| `expose:` | `port = 5432` |
| `ports: "8080:80"` | `port = 80` plus `[[publish]] port = 80, host_port = 8080` (asks the user) |
| `volumes: data:/var/lib/x` | `volume = true` mounts one volume at `/data`: point the app there (`PGDATA = "/data/pgdata"`, a config option, or the app's data-dir variable) |
| `healthcheck: test: [...]` | `[health] heartbeat = "1m"`, `grace = "3m"`, `command = [...]` (the hub runs it in the container) |
| `restart: always` | nothing: services always restart |
Name the jobs `<app>` and `<app>-db` and so on. The volume belongs to the job's name
(`botler-job-<name>`): **renaming or removing a job with `volume = true` loses its data**, so keep
the names of anything already deployed. To move a deployed service from a Dockerfile to `from`,
keep its name and check that the image reads its data from the same place under `/data`.
With `from`, the hub hands the volume to the image's own user at every start (Podman's `U`
option), so an image that runs as a non-root user (Mattermost runs as `mattermost`) can write
existing data too. A Dockerfile job's volume is left as it is; don't add `USER root` to get
around that, use `from`.
`trial_run` each service before proposing (its `/data` is empty and thrown away); start the
database first. The first deployment of each service asks the user once.
Wersje
W bazie nie ma innych skilli o nazwie compose-apps.
Migawka bazy z 13.11.2026 · wersja paczki 97e1b41be2ce (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90add-service
Instaluje, dodaje lub przenosi aplikację na własnym serwerze domowym przez Docker Compose, np. Immich czy Jellyfin. - 100generating-docker-compose-files
Generuje pliki Docker Compose dla aplikacji wielokontenerowych. - 100generating-docker-compose-files
Generuje pliki Docker Compose dla aplikacji wielokontenerowych. - 100nextcloud-webhooks
Odbiera i uwierzytelnia webhooki Nextcloud, sprawdza nagłówek z sekretem i obsługuje zdarzenia zapisu oraz kalendarza. - 100docker-compose-basics
Pomaga definiować i uruchamiać aplikacje wielokontenerowe w Docker Compose za pomocą konfiguracji YAML. - 100docker-compose
Konfiguruje Docker Compose dla aplikacji wielokontenerowych: usługi, sieci i wolumeny, zależności usług oraz lokalne środowiska deweloperskie.