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-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'docker-compose.yml') 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: - "9000:9000" volumes: - .:/var/www/html + #links: + # - "postgres:rdbms" + # - "mariadb:rdbms" + env_file: + - ./docker/php/env + # Comment non-used DBMS lines + # If all DBMS are commented out, sqlite will be used as default + # - ./docker/postgres/env + # - ./docker/mariadb/env +#postgres: +# image: postgres:9 +# ports: +# - "5432:5432" +# volumes: +# - ./docker/data/pgsql:/var/lib/postgresql/data +# env_file: +# - ./docker/postgres/env +#mariadb: +# image: mariadb:10 +# ports: +# - "3306:3306" +# volumes: +# - ./docker/data/mariadb:/var/lib/mysql +# env_file: +# - ./docker/mariadb/env -- cgit v1.2.3