websoft9/apps/roles/nextcloud/vars/main.yml
qiaofeng1227 bc26adc314 owncloud
2022-05-17 10:58:42 +08:00

28 lines
691 B
YAML

# Global
region: "0"
common_os_support: ["CentOS", "Ubuntu", "Amazon", "OracleLinux"]
nginx_certbot: True
nginx_reverse_proxy_port: "9001"
# docker
docker_applications:
- phpmyadmin
init_docker:
nextcloud:
admin_username: "admin"
admin_password: "admin"
db: mysql
db_name: nextcloud
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
- sudo sed -i "s/APP_PASSWORD=.*/APP_PASSWORD=$new_password/g" /data/apps/nextcloud/.env
volumes:
- /data/apps/nextcloud/volumes