Fixing sed command for postgres upgrade.

- Context: https://github.com/LemmyNet/lemmy-ansible/issues/245
fixing_sed_command
Dessalines 2024-06-07 12:36:30 -04:00
parent 9236cf7d21
commit 76d6583d5b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ echo "Removing the old postgres folder"
sudo rm -rf volumes/postgres
echo "Updating docker compose to use postgres version 16."
sudo sed -i "s/image: .*postgres:.*/image: docker.io/postgres:16-alpine/" ./docker-compose.yml
sudo sed -i "s/image: .*postgres:.*/image: docker.io\/postgres:16-alpine/" ./docker-compose.yml
echo "Starting up new postgres..."
sudo docker compose up -d postgres