diff --git a/templates/invoice-ninja/0/README.md b/templates/invoice-ninja/0/README.md new file mode 100644 index 0000000..97589e6 --- /dev/null +++ b/templates/invoice-ninja/0/README.md @@ -0,0 +1 @@ +#Initial Testing \ No newline at end of file diff --git a/templates/invoice-ninja/0/docker-compose.yml b/templates/invoice-ninja/0/docker-compose.yml index e69de29..d69a467 100644 --- a/templates/invoice-ninja/0/docker-compose.yml +++ b/templates/invoice-ninja/0/docker-compose.yml @@ -0,0 +1,47 @@ +version: '2' +services: + invoiceninja: + image: invoiceninja/invoiceninja + env_file: .env + labels: + io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE} + links: + - db:mysql + restart: always + volumes: + - ${VOLUME_LOGO}:/var/www/app/public/logo:nocopy + - ${VOLUME_STORAGE}:/var/www/app/storage:nocopy + cron: + image: invoiceninja/invoiceninja + entrypoint: | + bash -c 'bash -s <