mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-30 09:10:02 +00:00
Fixing sed command for postgres upgrade. (#4791)
- Context: https://github.com/LemmyNet/lemmy-ansible/issues/245
This commit is contained in:
parent
9236cf7d21
commit
b2a480f55c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue