Skip to content
Snippets Groups Projects
Verified Commit cc777d7a authored by Eliot Berriot's avatar Eliot Berriot
Browse files

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

parent 8aac1c93
No related branches found
No related tags found
No related merge requests found
...@@ -15,3 +15,6 @@ LDAP_ENABLED=False ...@@ -15,3 +15,6 @@ LDAP_ENABLED=False
# Uncomment this if you're using traefik/https # Uncomment this if you're using traefik/https
# FORCE_HTTPS_URLS=True # FORCE_HTTPS_URLS=True
# Customize to your needs
POSTGRES_VERSION=11
...@@ -131,7 +131,7 @@ flake8: ...@@ -131,7 +131,7 @@ flake8:
test_api: test_api:
services: services:
- postgres:9.4 - postgres:11
- redis:3 - redis:3
stage: test stage: test
image: funkwhale/funkwhale:develop image: funkwhale/funkwhale:develop
......
Updated default docker postgres version from 9.4 to 11 (#656)
...@@ -4,7 +4,7 @@ services: ...@@ -4,7 +4,7 @@ services:
postgres: postgres:
restart: unless-stopped restart: unless-stopped
env_file: .env env_file: .env
image: postgres:9.4 image: postgres:11
volumes: volumes:
- ./data/postgres:/var/lib/postgresql/data - ./data/postgres:/var/lib/postgresql/data
......
...@@ -22,7 +22,7 @@ services: ...@@ -22,7 +22,7 @@ services:
env_file: env_file:
- .env.dev - .env.dev
- .env - .env
image: postgres:9.6 image: postgres:${POSTGRES_VERSION-11}
command: postgres -c log_min_duration_statement=0 command: postgres -c log_min_duration_statement=0
volumes: volumes:
- "./data/${COMPOSE_PROJECT_NAME-node1}/postgres:/var/lib/postgresql/data" - "./data/${COMPOSE_PROJECT_NAME-node1}/postgres:/var/lib/postgresql/data"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment