apache / apache/answer-website

Improve environment variable usage documentation

Aperta
#273 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
47
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Describe the error

I have completely read the Chinese installation document of Answer. I need to add a more complete description of the `AUTO_INSTALL` setting in `environment variables`. If there is no docker volumes mapping, when using environment variables for Answer installation, delete the Answer to run the container. And run the Answer container again, Answer will populate the database again, but the database already has content, Answer will prompt an error (the config.yaml file is missing, and the database uses postgresql).

### Reappear

Set AUTO_INSTALL to true according to the document, and the installation will be automatically successful. The data has been written to the database. At this time, Answer can be accessed normally. After deleting the running container and using the same parameters, Answer will write the configuration to the database again. information, but the same configuration information already exists in postgresql.

### Expected behavior

AnswerYou can use environment variables for parameter configuration and run, no configuration file is required.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia dalla sezione sulle variabili d’ambiente del documento di installazione in cinese e rivedi le indicazioni su AUTO_INSTALL insieme al comportamento del container e di PostgreSQL descritto nell’issue. Il lavoro è completato quando la documentazione spiega chiaramente la configurazione e lo scenario di riavvio, inclusa la necessità di tenere conto dei contenuti esistenti del database quando non è mappato alcun volume Docker.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
docker, postgresql
Ambito
databases, documentation
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.