mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
edit nextcloud
This commit is contained in:
parent
44814cf8ae
commit
524b7f47fb
@ -8,10 +8,6 @@ nginx_certbot: True
|
||||
nginx_vhost_mode: reverse
|
||||
nginx_reverse_proxy_port: "9001"
|
||||
|
||||
# role_mysql
|
||||
mysql_version: "5.7"
|
||||
mysql_install_server: "False"
|
||||
|
||||
# docker
|
||||
docker_applications:
|
||||
- phpmyadmin
|
||||
|
@ -1,31 +1,27 @@
|
||||
common_install_docker: True
|
||||
docker_install: False
|
||||
# Global
|
||||
region: "0"
|
||||
|
||||
mysql_install_server: False
|
||||
mysql_version: "5.7"
|
||||
common_os_support: ["CentOS", "Ubuntu", "Amazon", "OracleLinux"]
|
||||
|
||||
docker_applications: [phpmyadmin]
|
||||
|
||||
nginx_reverse_proxy_port: "9001"
|
||||
nginx_certbot: True
|
||||
nginx_reverse_proxy_port: "9001"
|
||||
|
||||
# docker
|
||||
docker_applications:
|
||||
- phpmyadmin
|
||||
|
||||
init_docker:
|
||||
nextcloud:
|
||||
admin_username: "admin@metabase.local"
|
||||
admin_password: "123456"
|
||||
admin_username: "admin"
|
||||
admin_password: "admin"
|
||||
db: mysql
|
||||
db_name: metabase
|
||||
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/metabase/volumes
|
||||
commands:
|
||||
- sudo systemctl stop nginx
|
||||
- cd /opt
|
||||
- chmod +x create_users.sh
|
||||
- MB_HOSTNAME=localhost MB_PORT=9001 MB_ADMIN_PASSWORD=$new_password ./create_users.sh
|
||||
- sudo systemctl start nginx
|
||||
- /data/apps/nextcloud/volumes
|
||||
|
Loading…
Reference in New Issue
Block a user