websoft9/apps/roles/onlyoffice/vars/main.yml

29 lines
813 B
YAML
Raw Normal View History

2022-05-17 14:29:51 +08:00
region: "0"
2022-05-16 14:18:18 +08:00
common_install_docker: True
docker_install: False
2022-05-17 14:29:51 +08:00
nginx_appname: "onlyoffice"
nginx_vhost_mode: "reverse"
nginx_reverse_proxy_port: "9003"
nginx_certbot: True
2022-05-16 14:18:18 +08:00
docker_applications:
- phpmyadmin
2022-05-17 14:29:51 +08:00
- onlyofficedocs
2022-05-16 14:18:18 +08:00
init_docker:
2022-05-17 14:29:51 +08:00
onlyoffice:
db: onlyoffice
db_name: onlyoffice
db_username: onlyoffice
2022-05-16 14:18:18 +08:00
db_password: "123456"
service_after: "docker.service"
2022-05-17 14:29:51 +08:00
compose_path: "/data/apps/onlyoffice/docker-compose.yml"
2022-05-16 14:18:18 +08:00
compose_commands:
2022-05-17 14:29:51 +08:00
- 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
2022-05-16 14:18:18 +08:00
volumes:
2022-05-17 14:29:51 +08:00
- /data/apps/onlyoffice/volumes