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