mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-06-20 17:15:39 +02:00
set postgres version to 16
This commit is contained in:
parent
47182487f1
commit
8fdb2650e1
4 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@ services:
|
|||
routerfleet-postgres:
|
||||
container_name: routerfleet-postgres
|
||||
restart: unless-stopped
|
||||
image: postgres:latest
|
||||
image: postgres:16
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
@ -26,7 +26,7 @@ services:
|
|||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- TZ=${TIMEZONE}
|
||||
- COMPOSE_VERSION=02d
|
||||
- COMPOSE_VERSION=08a
|
||||
- COMPOSE_TYPE=with-postgres
|
||||
|
||||
volumes:
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- TZ=${TIMEZONE}
|
||||
- COMPOSE_VERSION=02d
|
||||
- COMPOSE_VERSION=08a
|
||||
- COMPOSE_TYPE=no-postgres
|
||||
volumes:
|
||||
- sqlite_volume:/var/lib/routerfleet_sqlite/
|
||||
|
|
|
@ -2,7 +2,7 @@ services:
|
|||
routerfleet-postgres:
|
||||
container_name: routerfleet-postgres
|
||||
restart: unless-stopped
|
||||
image: postgres:latest
|
||||
image: postgres:16
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
@ -25,7 +25,7 @@ services:
|
|||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- TZ=${TIMEZONE}
|
||||
- COMPOSE_VERSION=02d
|
||||
- COMPOSE_VERSION=08a
|
||||
- COMPOSE_TYPE=with-postgres
|
||||
volumes:
|
||||
- sqlite_volume:/var/lib/routerfleet_sqlite/
|
||||
|
|
|
@ -3,7 +3,7 @@ PRODUCTION_SETTINGS_FILE="/app/routerfleet/production_settings.py"
|
|||
|
||||
set -e
|
||||
|
||||
if [[ "$COMPOSE_VERSION" != "02d" ]]; then
|
||||
if [[ "$COMPOSE_VERSION" != "08a" ]]; then
|
||||
echo "ERROR: Please upgrade your docker compose file. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue