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-compose.yml | |
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-compose.yml')
-rw-r--r-- | docker-compose.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index bc469419..c774b621 100644 --- a/docker-compose.yml +++ b/docker-compose.yml | |||
@@ -15,3 +15,28 @@ php: | |||
15 | - "9000:9000" | 15 | - "9000:9000" |
16 | volumes: | 16 | volumes: |
17 | - .:/var/www/html | 17 | - .:/var/www/html |
18 | #links: | ||
19 | # - "postgres:rdbms" | ||
20 | # - "mariadb:rdbms" | ||
21 | env_file: | ||
22 | - ./docker/php/env | ||
23 | # Comment non-used DBMS lines | ||
24 | # If all DBMS are commented out, sqlite will be used as default | ||
25 | # - ./docker/postgres/env | ||
26 | # - ./docker/mariadb/env | ||
27 | #postgres: | ||
28 | # image: postgres:9 | ||
29 | # ports: | ||
30 | # - "5432:5432" | ||
31 | # volumes: | ||
32 | # - ./docker/data/pgsql:/var/lib/postgresql/data | ||
33 | # env_file: | ||
34 | # - ./docker/postgres/env | ||
35 | #mariadb: | ||
36 | # image: mariadb:10 | ||
37 | # ports: | ||
38 | # - "3306:3306" | ||
39 | # volumes: | ||
40 | # - ./docker/data/mariadb:/var/lib/mysql | ||
41 | # env_file: | ||
42 | # - ./docker/mariadb/env | ||