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

28 lines
692 B
YAML
Raw Normal View History

2022-05-17 08:39:06 +08:00
# Global
region: "0"
2022-05-16 12:01:36 +08:00
2022-05-17 08:39:06 +08:00
common_os_support: ["CentOS", "Ubuntu", "Amazon", "OracleLinux"]
2022-05-16 12:01:36 +08:00
nginx_certbot: True
2022-05-17 08:39:06 +08:00
nginx_reverse_proxy_port: "9001"
# docker
docker_applications:
- phpmyadmin
2022-05-16 12:01:36 +08:00
init_docker:
nextcloud:
2022-05-17 08:39:06 +08:00
admin_username: "admin"
admin_password: "admin"
2022-05-16 12:01:36 +08:00
db: mysql
2022-05-17 08:39:06 +08:00
db_name: nextcloud
2022-05-16 12:01:36 +08:00
db_username: root
db_password: "123456"
service_after: "docker.service"
compose_path: "/data/apps/nextcloud/docker-compose.yml"
compose_commands:
- sudo sed -i "s/123456/$new_password/g" /data/apps/nextcloud/.env
2022-05-17 08:39:06 +08:00
- sudo sed -i "s/APP_PASSWORD=.*/APP_PASSWORD==$new_password/g" /data/apps/nextcloud/.env
2022-05-16 12:01:36 +08:00
volumes:
2022-05-17 08:39:06 +08:00
- /data/apps/nextcloud/volumes