This commit is contained in:
qiaofeng1227 2022-05-17 10:58:42 +08:00
parent 9dec7fb378
commit bc26adc314
2 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,6 @@ init_docker:
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
- sudo sed -i "s/APP_PASSWORD=.*/APP_PASSWORD=$new_password/g" /data/apps/nextcloud/.env
volumes:
- /data/apps/nextcloud/volumes

View File

@ -22,6 +22,6 @@ init_docker:
compose_path: "/data/apps/owncloud/docker-compose.yml"
compose_commands:
- sudo sed -i "s/123456/$new_password/g" /data/apps/owncloud/.env
- sudo sed -i "s/APP_PASSWORD=.*/APP_PASSWORD==$new_password/g" /data/apps/owncloud/.env
- sudo sed -i "s/APP_PASSWORD=.*/APP_PASSWORD=$new_password/g" /data/apps/owncloud/.env
volumes:
- /data/apps/owncloud/volumes