Update main.yml

This commit is contained in:
qiaofeng1227 2022-07-19 11:22:09 +08:00 committed by GitHub
parent b4aa161bef
commit 15c5134aef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1 @@
region: "0"
common_install_docker: True
docker_install: False
nginx_appname: "onlyoffice"
nginx_vhost_mode: "reverse"
nginx_reverse_proxy_port: "9003"
nginx_certbot: True
docker_applications:
- phpmyadmin
- onlyofficedocs
init_docker:
onlyoffice:
db: onlyoffice
db_name: onlyoffice
db_username: onlyoffice
db_password: "123456"
service_after: "docker.service"
compose_path: "/data/apps/onlyoffice/docker-compose.yml"
compose_commands:
- export DOCKER_CLIENT_TIMEOUT=500
- export COMPOSE_HTTP_TIMEOUT=500
- sudo sed -i "s/123456/$new_password/g" /data/apps/onlyoffice/.env
- sudo sed -i "s/123456/$new_password/g" /data/apps/onlyoffice/src/config/mysql/docker-entrypoint-initdb.d/onlyoffice-initdb.sql
volumes:
- /data/apps/onlyoffice/volumes