From 56f713bcd3698d2ee045883b1c4bdb36d887af10 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 31 Jul 2016 21:38:03 +0200 Subject: [PATCH] add docker-compose to the repos --- docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..225c3b0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +db: + image: mysql + environment: + MYSQL_DATABASE: ninja + MYSQL_ROOT_PASSWORD: mdp + +app: + image: invoiceninja/invoiceninja + links: + - db:mysql + environment: + APP_DEBUG: 1 + +web: + image: nginx + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + links: + - app + volumes_from: + - app + ports: + - 80