Fix #656: Updated default docker postgres version from 9.4 to 11
This commit is contained in:
parent
8aac1c93ae
commit
cc777d7a36
3
.env.dev
3
.env.dev
|
@ -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:
|
||||||
|
|
||||||
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
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Updated default docker postgres version from 9.4 to 11 (#656)
|
|
@ -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
|
||||||
|
|
||||||
|
|
2
dev.yml
2
dev.yml
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue