Update main.yml

This commit is contained in:
qiaofeng1227 2022-05-13 10:47:58 +08:00 committed by GitHub
parent 7b1ee6a9d9
commit 2354ba0b84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,4 +25,4 @@ init_docker:
service_after: "docker.service"
compose_path: "/data/apps/discuzq/docker-compose.yml"
compose_commands:
- 'sudo sed -i "s/DB_MYSQL_PASSWORD=.*/DB_MYSQL_PASSWORD=$new_password/g" /data/wwwroot/discuzq/.env'
- 'sudo sed -i "s/DB_MYSQL_PASSWORD=.*/DB_MYSQL_PASSWORD=$new_password/g" /data/apps/discuzq/.env'