diff options
author | Fabien MEURILLON <fabien@meurillon.org> | 2016-01-09 17:27:21 +0100 |
---|---|---|
committer | Fabien MEURILLON <fabien@meurillon.org> | 2016-01-10 15:01:11 +0100 |
commit | 1d41effebc613b91bb84404711fb555f050a1700 (patch) | |
tree | 8a38ea79b5680abc22a2b6c87c1b0d0b69bc7de5 /docker | |
parent | 540ef5e084db2295d7ca476c980ec10fb90e9722 (diff) | |
download | wallabag-1d41effebc613b91bb84404711fb555f050a1700.tar.gz wallabag-1d41effebc613b91bb84404711fb555f050a1700.tar.zst wallabag-1d41effebc613b91bb84404711fb555f050a1700.zip |
Add Docker configuration for Postgres and MariaDB
Diffstat (limited to 'docker')
-rw-r--r-- | docker/mariadb/env | 10 | ||||
-rw-r--r-- | docker/php/env | 6 | ||||
-rw-r--r-- | docker/postgres/env | 9 |
3 files changed, 25 insertions, 0 deletions
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 @@ | |||
1 | MYSQL_ROOT_PASSWORD=wallaroot | ||
2 | MYSQL_USER=wallabag | ||
3 | MYSQL_PASSWORD=wallapass | ||
4 | MYSQL_DATABASE=wallabag | ||
5 | SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql | ||
6 | SYMFONY__ENV__DATABASE_HOST=rdbms | ||
7 | SYMFONY__ENV__DATABASE_PORT=3306 | ||
8 | SYMFONY__ENV__DATABASE_NAME=wallabag | ||
9 | SYMFONY__ENV__DATABASE_USER=wallabag | ||
10 | 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 @@ | |||
1 | SYMFONY__ENV__DATABASE_DRIVER=pdo_sqlite | ||
2 | SYMFONY__ENV__DATABASE_HOST=127.0.0.1 | ||
3 | SYMFONY__ENV__DATABASE_PORT=~ | ||
4 | SYMFONY__ENV__DATABASE_NAME=symfony | ||
5 | SYMFONY__ENV__DATABASE_USER=root | ||
6 | 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 @@ | |||
1 | POSTGRES_USER=wallabag | ||
2 | POSTGRES_PASSWORD=wallapass | ||
3 | POSTGRES_DB=wallabag | ||
4 | export SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql | ||
5 | export SYMFONY__ENV__DATABASE_HOST=rdbms | ||
6 | export SYMFONY__ENV__DATABASE_PORT=5432 | ||
7 | export SYMFONY__ENV__DATABASE_NAME=wallabag | ||
8 | export SYMFONY__ENV__DATABASE_USER=wallabag | ||
9 | export SYMFONY__ENV__DATABASE_PASSWORD=wallapass | ||