Fix #656: Updated default docker postgres version from 9.4 to 11

merge-requests/552/head
Eliot Berriot 2019-01-11 10:45:38 +01:00
rodzic 8aac1c93ae
commit cc777d7a36
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
5 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -15,3 +15,6 @@ LDAP_ENABLED=False
# Uncomment this if you're using traefik/https
# FORCE_HTTPS_URLS=True
# Customize to your needs
POSTGRES_VERSION=11

Wyświetl plik

@ -131,7 +131,7 @@ flake8:
test_api:
services:
- postgres:9.4
- postgres:11
- redis:3
stage: test
image: funkwhale/funkwhale:develop

Wyświetl plik

@ -0,0 +1 @@
Updated default docker postgres version from 9.4 to 11 (#656)

Wyświetl plik

@ -4,7 +4,7 @@ services:
postgres:
restart: unless-stopped
env_file: .env
image: postgres:9.4
image: postgres:11
volumes:
- ./data/postgres:/var/lib/postgresql/data

Wyświetl plik

@ -22,7 +22,7 @@ services:
env_file:
- .env.dev
- .env
image: postgres:9.6
image: postgres:${POSTGRES_VERSION-11}
command: postgres -c log_min_duration_statement=0
volumes:
- "./data/${COMPOSE_PROJECT_NAME-node1}/postgres:/var/lib/postgresql/data"