mirror of
https://github.com/wallabag/docker.git
synced 2025-12-21 19:27:35 +01:00
Support Postgres 10
* Add SYMFONY__ENV__DATABASE_DRIVER_CLASS environment variable which can be set to the necessary driver class for Postgres 10 * Use this in travis.yml
This commit is contained in:
@ -10,6 +10,7 @@ services:
|
||||
- POSTGRES_USER=my-super-user
|
||||
- SYMFONY__ENV__SECRET=F00B4R
|
||||
- SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql
|
||||
- SYMFONY__ENV__DATABASE_DRIVER_CLASS=Wallabag\CoreBundle\Doctrine\DBAL\Driver\CustomPostgreSQLDriver
|
||||
- SYMFONY__ENV__DATABASE_HOST=db
|
||||
- SYMFONY__ENV__DATABASE_PORT=5432
|
||||
- SYMFONY__ENV__DATABASE_NAME=wallabag
|
||||
@ -18,7 +19,7 @@ services:
|
||||
ports:
|
||||
- "127.0.0.1:80:80"
|
||||
db:
|
||||
image: postgres:9.6
|
||||
image: postgres:10.3
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=my-secret-pw
|
||||
- POSTGRES_USER=my-super-user
|
||||
|
||||
Reference in New Issue
Block a user