mirror of https://gitee.com/answerdev/answer.git
docs(docker): update docker compose for auto install
This commit is contained in:
parent
24aaf7f49a
commit
07d9f56975
|
@ -10,6 +10,20 @@ services:
|
||||||
|
|
||||||
answer:
|
answer:
|
||||||
image: "${ANSWER_IMAGE}"
|
image: "${ANSWER_IMAGE}"
|
||||||
|
environment:
|
||||||
|
- AUTO_INSTALL=true
|
||||||
|
- DB_TYPE=mysql
|
||||||
|
- DB_USERNAME=root
|
||||||
|
- DB_PASSWORD=password
|
||||||
|
- DB_HOST=127.0.0.1:3306
|
||||||
|
- DB_NAME=answer
|
||||||
|
- LANGUAGE=en_US
|
||||||
|
- SITE_NAME=answer-test
|
||||||
|
- SITE_URL=http://localhost
|
||||||
|
- CONTACT_EMAIL=test@answer.com
|
||||||
|
- ADMIN_NAME=admin123
|
||||||
|
- ADMIN_PASSWORD=admin123
|
||||||
|
- ADMIN_EMAIL=admin123@admin.com
|
||||||
volumes:
|
volumes:
|
||||||
- answer-data:/data
|
- answer-data:/data
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Reference in New Issue