Doc/Sample improvement: cron via docker-compose needs Redis-environment as well
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 50/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- docker, docker-compose, redis
- Ambito
- devops, documentation
Direzione di ricerca
Apri .examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml intorno alla riga 41 e confronta le variabili d’ambiente dei servizi app e cron. Aggiorna l’esempio in modo che cron riceva le variabili REDIS_HOST e REDIS_PORT, quindi verifica che la configurazione Compose rimanga valida.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This had me scratching my head a bit: I've set REDIS_HOST for the app:-target in the Apache docker-compose-file, and every five minutes (when cron comes around) I would get Redis server went away stains in the log.
It turns out that of course the solution is to pass the REDIS_{HOST, PORT} environment variables also to the cron:-target, e.g. in https://github.com/nextcloud/docker/blob/4cf9a20fdf5740e92e3b213a52d463c88449559a/.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml#L41.
I suggest to add the REDIS_*-variables to the cron:-section in the example template (possibly elsewhere?) to remind folks to do this.
[Or I misdiagnosed the issue, and I have some other problem – I had assumed the whole time that the cron-container would just trigger tasks in the running instance, but apparently that wasn't the case.]
- Lingua principale
- Shell
- Stelle
- 7.4k
- Fork
- 1.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/docker
-
1. To develop bug feature: cron image
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Drop paragarph about anonymous (unnamed) volumes under Persistent Storage section fo the docsApertabug docs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
0. Needs triage bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Imagick architecture mismatch (x86_64 vs aarch64) on official arm64 image causes Apache segfaultsAperta0. Needs triage bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
Tutte le issue di nextcloud/docker
Issue simili
-
Standalone Unix updater reports success when curl fails (`curl | sh` masks the exit status); Windows path is unaffectedForse già presa @akhil9tiet l’ha presa oggi. Apertabug CLI windows-os
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openai/codex#54465 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ChrisTitusTech/dwm-titus#397 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted language:fr translation
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
mrvi0/cli-cheatsheet#268 ·