From 6ab37e82639613b9eb10b008ffccf1f141e02b96 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sat, 12 Jan 2019 21:01:15 -0500 Subject: [PATCH] Testing --- templates/InvoiceNinja/0/docker-compose.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/templates/InvoiceNinja/0/docker-compose.yml b/templates/InvoiceNinja/0/docker-compose.yml index bbf7e5b..63b0ac1 100644 --- a/templates/InvoiceNinja/0/docker-compose.yml +++ b/templates/InvoiceNinja/0/docker-compose.yml @@ -15,8 +15,12 @@ services: links: - mysql restart: on-failure - volumes_from: - - nginx + volumes: + - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system + - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system + - /RancherCattle/${DATA_DIR}/Configuration/Invoice Ninja/.env:/var/www/app/.env + - /RancherCattle/${DATA_DIR}/Logo:/var/www/app/public/logo + - /RancherCattle/${DATA_DIR}/Storage:/var/www/app/storage cron: image: invoiceninja/invoiceninja:latest dns: @@ -42,7 +46,7 @@ services: - mysql restart: on-failure volumes_from: - - nginx + - invoiceninja mysql: image: mysql:5 dns: @@ -63,7 +67,7 @@ services: volumes: - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - - /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql + - /RancherCattle/${DATA_DIR}/Database:/var/lib/mysql nginx: image: nginx dns: @@ -90,9 +94,6 @@ services: - invoiceninja restart: on-failure volumes: - - /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system - - /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - /RancherCattle/${DATA_DIR}/Configuration/NGINX/nginx.conf:/etc/nginx/nginx.conf:ro - - /RancherCattle/${DATA_DIR}/Configuration/Invoice Ninja/.env:/var/www/app/.env - - /RancherCattle/${DATA_DIR}/Logo:/var/www/app/public/logo - - /RancherCattle/${DATA_DIR}/Storage:/var/www/app/storage \ No newline at end of file + volumes_from: + - invoiceninja \ No newline at end of file