Update postgresql to version 13.1
This commit is contained in:
parent
d10fd1db59
commit
4acd7f0c13
@ -39,7 +39,7 @@ DB_DSN_DEV="postgres://test:test@127.0.0.1:5432/dev?sslmode=disable" ./dev.sh ba
|
||||
## Connect to the database
|
||||
|
||||
```sh
|
||||
docker run -it --rm -e PGPASSWORD=test --link canape_postgresql_dev:postgres postgres:9.5 psql -h postgres -U test -d dev
|
||||
docker run -it --rm -e PGPASSWORD=test --link canape_postgresql_dev:postgres postgres:13.1 psql -h postgres -U test -d dev
|
||||
```
|
||||
|
||||
## Setup the dev users
|
||||
|
2
dev.sh
2
dev.sh
@ -128,7 +128,7 @@ case $1 in
|
||||
docker run -it --rm \
|
||||
-e PGPASSWORD="$DB_PASS" \
|
||||
--link canape_postgresql_dev:postgres \
|
||||
postgres:9.5 \
|
||||
postgres:13.1 \
|
||||
psql -h postgres -U "$DB_USER" -d "$DB_DATABASE"
|
||||
;;
|
||||
back)
|
||||
|
@ -6,7 +6,7 @@ networks:
|
||||
|
||||
services:
|
||||
database:
|
||||
image: postgres:9.5
|
||||
image: postgres:13.1
|
||||
container_name: canapeapp_database
|
||||
restart: always
|
||||
networks:
|
||||
|
@ -1,5 +1,5 @@
|
||||
postgresql:
|
||||
image: postgres:9.5
|
||||
image: postgres:13.1
|
||||
container_name: canape_postgresql_dev
|
||||
restart: always
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user