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

22 lines
559 B
YAML
Raw Normal View History

2022-05-11 09:51:13 +08:00
# Global
region: "0"
2022-06-27 15:20:10 +08:00
common_install_docker: True
common_os_support: ["CentOS", "Ubuntu", "Amazon", "OracleLinux", "Debian"]
2022-05-11 09:51:13 +08:00
nginx_appname: "discuzq"
nginx_certbot: True
nginx_vhost_mode: reverse
nginx_reverse_proxy_port: "9001"
init_docker:
discuzq:
db: mysql
db_name: discuzq
db_username: root
db_password: "123456"
service_after: "docker.service"
2022-05-13 09:44:50 +08:00
compose_path: "/data/apps/discuzq/docker-compose.yml"
2022-05-11 09:51:13 +08:00
compose_commands:
2022-05-13 10:47:58 +08:00
- 'sudo sed -i "s/DB_MYSQL_PASSWORD=.*/DB_MYSQL_PASSWORD=$new_password/g" /data/apps/discuzq/.env'