mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
Update main.yml
This commit is contained in:
parent
3d6d8fe326
commit
4bb8c8e455
@ -1,26 +1 @@
|
||||
common_install_docker: True
|
||||
|
||||
|
||||
nginx_reverse_proxy_port: "9001"
|
||||
nginx_certbot: True
|
||||
|
||||
init_docker:
|
||||
metabase:
|
||||
admin_username: "admin@metabase.local"
|
||||
admin_password: "123456"
|
||||
db: mysql
|
||||
db_name: metabase
|
||||
db_username: root
|
||||
db_password: "123456"
|
||||
service_after: "docker.service"
|
||||
compose_path: "/data/apps/metabase/docker-compose.yml"
|
||||
compose_commands:
|
||||
- sudo sed -i "s/123456/$new_password/g" /data/apps/metabase/.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
|
||||
|
Loading…
Reference in New Issue
Block a user