From 1d41effebc613b91bb84404711fb555f050a1700 Mon Sep 17 00:00:00 2001 From: Fabien MEURILLON Date: Sat, 9 Jan 2016 17:27:21 +0100 Subject: Add Docker configuration for Postgres and MariaDB --- docker/mariadb/env | 10 ++++++++++ docker/php/env | 6 ++++++ docker/postgres/env | 9 +++++++++ 3 files changed, 25 insertions(+) create mode 100644 docker/mariadb/env create mode 100644 docker/php/env create mode 100644 docker/postgres/env (limited to 'docker') diff --git a/docker/mariadb/env b/docker/mariadb/env new file mode 100644 index 00000000..87556a15 --- /dev/null +++ b/docker/mariadb/env @@ -0,0 +1,10 @@ +MYSQL_ROOT_PASSWORD=wallaroot +MYSQL_USER=wallabag +MYSQL_PASSWORD=wallapass +MYSQL_DATABASE=wallabag +SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql +SYMFONY__ENV__DATABASE_HOST=rdbms +SYMFONY__ENV__DATABASE_PORT=3306 +SYMFONY__ENV__DATABASE_NAME=wallabag +SYMFONY__ENV__DATABASE_USER=wallabag +SYMFONY__ENV__DATABASE_PASSWORD=wallapass diff --git a/docker/php/env b/docker/php/env new file mode 100644 index 00000000..935134fc --- /dev/null +++ b/docker/php/env @@ -0,0 +1,6 @@ +SYMFONY__ENV__DATABASE_DRIVER=pdo_sqlite +SYMFONY__ENV__DATABASE_HOST=127.0.0.1 +SYMFONY__ENV__DATABASE_PORT=~ +SYMFONY__ENV__DATABASE_NAME=symfony +SYMFONY__ENV__DATABASE_USER=root +SYMFONY__ENV__DATABASE_PASSWORD=~ diff --git a/docker/postgres/env b/docker/postgres/env new file mode 100644 index 00000000..80c78c2a --- /dev/null +++ b/docker/postgres/env @@ -0,0 +1,9 @@ +POSTGRES_USER=wallabag +POSTGRES_PASSWORD=wallapass +POSTGRES_DB=wallabag +export SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql +export SYMFONY__ENV__DATABASE_HOST=rdbms +export SYMFONY__ENV__DATABASE_PORT=5432 +export SYMFONY__ENV__DATABASE_NAME=wallabag +export SYMFONY__ENV__DATABASE_USER=wallabag +export SYMFONY__ENV__DATABASE_PASSWORD=wallapass -- cgit v1.2.3