From 20ac7f391d213d8252d7a055f3c1ff04c439081f Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Thu, 8 Aug 2024 21:43:11 -0700 Subject: [PATCH] added firefly, tested and working --- firefly/README.md | 15 +++++++++++++++ firefly/docker-compose.yml | 14 ++++++++++++++ firefly/sample-extends.yml | 18 ++++++++++++++++++ firefly/sample.env | 6 ++++++ nginx-proxy-manager/README.md | 28 ---------------------------- 5 files changed, 53 insertions(+), 28 deletions(-) create mode 100644 firefly/README.md create mode 100644 firefly/docker-compose.yml create mode 100644 firefly/sample-extends.yml create mode 100644 firefly/sample.env diff --git a/firefly/README.md b/firefly/README.md new file mode 100644 index 0000000..8b9968c --- /dev/null +++ b/firefly/README.md @@ -0,0 +1,15 @@ +# Firefly iii + +## Overview +Docker Hub: https://hub.docker.com/r/fireflyiii/core/tags +Documentation: https://docs.firefly-iii.org/how-to/firefly-iii/installation/docker/ +Project: https://firefly-iii.org/ +Proxy Port: 8080 +Proxy Port Importer: 8080 + +## Notes + +The Firefly III Data Importer will ask you for the Firefly III URL and a "Client ID". +You can generate the Client ID at http://localhost/profile (after registering) +The Firefly III URL is: http://app:8080 +Other URL's will give 500 | Server Error diff --git a/firefly/docker-compose.yml b/firefly/docker-compose.yml new file mode 100644 index 0000000..dd94242 --- /dev/null +++ b/firefly/docker-compose.yml @@ -0,0 +1,14 @@ +version: '3.8' + +services: + firefly: + image: ${FIREFLY_IMAGE:-fireflyiii/core:latest} + restart: unless-stopped + volumes: + - ${VOL_PATH:-./data}/firefly:/var/www/html/storage/upload + + firefly-importer: + image: ${FIREFLY_IMPORTER_IMAGE:-fireflyiii/data-importer:latest} + restart: unless-stopped + volumes: + - ${VOL_PATH:-./data}/firefly:/var/www/html/storage/upload diff --git a/firefly/sample-extends.yml b/firefly/sample-extends.yml new file mode 100644 index 0000000..36d4fd3 --- /dev/null +++ b/firefly/sample-extends.yml @@ -0,0 +1,18 @@ +version: '3.4' + +services: + + firefly: + extends: + file: ${COOKBOOK}/firefly/docker-compose.yml + service: firefly + + firefly-importer: + extends: + file: ${COOKBOOK}/firefly/docker-compose.yml + service: firefly-importer + + firefly-db: + extends: + file: ${COOKBOOK}/mariadb/docker-compose.yml + service: mariadb \ No newline at end of file diff --git a/firefly/sample.env b/firefly/sample.env new file mode 100644 index 0000000..4ccee72 --- /dev/null +++ b/firefly/sample.env @@ -0,0 +1,6 @@ +VOL_PATH=/docker/vol/portainer-data #HELP: volpath +COOKBOOK=/git/docker-compose-cookbooks #HELP: cookbooks + +# firefly +FIREFLY_IMAGE=fireflyiii/core:latest +FIREFLY_IMPORTER_IMAGE=fireflyiii/data-importer:latest diff --git a/nginx-proxy-manager/README.md b/nginx-proxy-manager/README.md index 08fc785..42d9fa4 100644 --- a/nginx-proxy-manager/README.md +++ b/nginx-proxy-manager/README.md @@ -33,31 +33,3 @@ See sample-extends.yml ```bash mkdir -p data/proxy data/proxy-letsencrypt ``` - -### env file - -```text -# Nginx Proxy Manager -PRODDIR=/var/www/stashdomain-com/ #HELP: project_path -VOL_PATH=/docker/vol/portainer-data #HELP: volpath -COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks -PROXY_IMAGE=jc21/nginx-proxy-manager:2.11.3 -``` - -## Usage - -In the project directory you have to run as root as you use port 80 and 443 - -```bash -# Docker Start -docker-compose up -d - -# Docker Stop -docker-compose down - -# Podman Start -sudo podman-compose up -d - -# Podman Stop -sudo podman-compose down -``` \ No newline at end of file