Skip to content

Commit

Permalink
add Firefly III
Browse files Browse the repository at this point in the history
  • Loading branch information
Cp0204 committed Jun 20, 2024
1 parent 8d80d4a commit 13fd38c
Show file tree
Hide file tree
Showing 7 changed files with 263 additions and 0 deletions.
230 changes: 230 additions & 0 deletions Apps/firefly-iii/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
version: '3.3'

#
# 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
#

name: firefly-iii
services:
app:
image: fireflyiii/core:latest
hostname: app
container_name: firefly-iii-core
networks:
- firefly-iii
restart: unless-stopped
volumes:
- /DATA/AppData/fireflyiii/upload:/var/www/html/storage/upload
environment:
# Firefly III
APP_ENV: production
APP_DEBUG: "false"
SITE_OWNER: mail@example.com
APP_KEY: SomeRandomStringOf32CharsExactly
DEFAULT_LANGUAGE: en_US
DEFAULT_LOCALE: equal
TZ: Europe/Amsterdam
TRUSTED_PROXIES: ''
LOG_CHANNEL: stack
APP_LOG_LEVEL: notice
AUDIT_LOG_LEVEL: emergency
AUDIT_LOG_CHANNEL: ''
PAPERTRAIL_HOST: ''
PAPERTRAIL_PORT: ''
DB_CONNECTION: mysql
DB_HOST: db
DB_PORT: "3306"
DB_DATABASE: firefly
DB_USERNAME: firefly
DB_PASSWORD: secret_firefly_password
DB_SOCKET: ''
MYSQL_USE_SSL: "false"
MYSQL_SSL_VERIFY_SERVER_CERT: "true"
MYSQL_SSL_CAPATH: /etc/ssl/certs/
MYSQL_SSL_CA: ''
MYSQL_SSL_CERT: ''
MYSQL_SSL_KEY: ''
MYSQL_SSL_CIPHER: ''
PGSQL_SSL_MODE: prefer
PGSQL_SSL_ROOT_CERT: ''
PGSQL_SSL_CERT: ''
PGSQL_SSL_KEY: ''
PGSQL_SSL_CRL_FILE: ''
PGSQL_SCHEMA: public
CACHE_DRIVER: file
SESSION_DRIVER: file
REDIS_SCHEME: tcp
REDIS_PATH: ''
REDIS_HOST: '127.0.0.1'
REDIS_PORT: "6379"
REDIS_USERNAME: ''
REDIS_PASSWORD: ''
REDIS_DB: "0"
REDIS_CACHE_DB: "1"
COOKIE_PATH: "/"
COOKIE_DOMAIN: ''
COOKIE_SECURE: "false"
COOKIE_SAMESITE: lax
MAIL_MAILER: log
MAIL_HOST: ''
MAIL_PORT: "2525"
MAIL_FROM: changeme@example.com
MAIL_USERNAME: ''
MAIL_PASSWORD: ''
MAIL_ENCRYPTION: ''
MAIL_SENDMAIL_COMMAND: ''
MAILGUN_DOMAIN: ''
MAILGUN_SECRET: ''
MAILGUN_ENDPOINT: api.mailgun.net
MANDRILL_SECRET: ''
SPARKPOST_SECRET: ''
SEND_ERROR_MESSAGE: "true"
SEND_REPORT_JOURNALS: "true"
ENABLE_EXTERNAL_MAP: "false"
ENABLE_EXCHANGE_RATES: "false"
ENABLE_EXTERNAL_RATES: "false"
MAP_DEFAULT_LAT: "51.983333"
MAP_DEFAULT_LONG: "5.916667"
MAP_DEFAULT_ZOOM: "6"
VALID_URL_PROTOCOLS: ''
AUTHENTICATION_GUARD: web
AUTHENTICATION_GUARD_HEADER: REMOTE_USER
AUTHENTICATION_GUARD_EMAIL: ''
PASSPORT_PRIVATE_KEY: ''
PASSPORT_PUBLIC_KEY: ''
CUSTOM_LOGOUT_URL: ''
DISABLE_FRAME_HEADER: "false"
DISABLE_CSP_HEADER: "false"
TRACKER_SITE_ID: ''
TRACKER_URL: ''
ALLOW_WEBHOOKS: "false"
STATIC_CRON_TOKEN: 'd4f39d7ee52630bcdde3181762ac1439'
DKR_BUILD_LOCALE: "false"
DKR_CHECK_SQLITE: "true"
APP_NAME: FireflyIII
BROADCAST_DRIVER: log
QUEUE_DRIVER: sync
CACHE_PREFIX: firefly
PUSHER_KEY: ''
IPINFO_TOKEN: ''
PUSHER_SECRET: ''
PUSHER_ID: ''
DEMO_USERNAME: ''
DEMO_PASSWORD: ''
FIREFLY_III_LAYOUT: v1
APP_URL: http://localhost
ports:
- target: 8080
published: "38080"
protocol: tcp
depends_on:
- db

db:
image: mariadb:lts
hostname: db
container_name: firefly-iii-db
networks:
- firefly-iii
restart: unless-stopped
environment:
# Database
MYSQL_RANDOM_ROOT_PASSWORD: yes
MYSQL_USER: firefly
MYSQL_PASSWORD: secret_firefly_password
MYSQL_DATABASE: firefly
volumes:
- /DATA/AppData/fireflyiii/db:/var/lib/mysql

importer:
image: fireflyiii/data-importer:latest
hostname: importer
restart: unless-stopped
container_name: firefly-iii-importer
networks:
- firefly-iii
environment:
# Data Importer
FIREFLY_III_URL: 'http://app:8080'
VANITY_URL: 'http://localhost'
FIREFLY_III_ACCESS_TOKEN: ''
FIREFLY_III_CLIENT_ID: ''
NORDIGEN_ID: ''
NORDIGEN_KEY: ''
NORDIGEN_SANDBOX: "false"
SPECTRE_APP_ID: ''
SPECTRE_SECRET: ''
USE_CACHE: "false"
IGNORE_DUPLICATE_ERRORS: "false"
IGNORE_NOT_FOUND_TRANSACTIONS: "false"
AUTO_IMPORT_SECRET: ''
CAN_POST_AUTOIMPORT: "false"
CAN_POST_FILES: "false"
IMPORT_DIR_ALLOWLIST: ''
FALLBACK_IN_DIR: "false"
VERIFY_TLS_SECURITY: "true"
JSON_CONFIGURATION_DIR: ''
CONNECTION_TIMEOUT: "31.41"
LOG_RETURN_JSON: "false"
LOG_LEVEL: debug
ENABLE_MAIL_REPORT: "false"
EXPECT_SECURE_URL: "false"
MAIL_DESTINATION: noreply@example.com
MAIL_FROM_ADDRESS: noreply@example.com
POSTMARK_TOKEN: ''
QUEUE_CONNECTION: sync
SESSION_LIFETIME: "120"
IS_EXTERNAL: "false"
ASSET_URL: ''
ports:
- target: 8080
published: "38081"
protocol: tcp
depends_on:
- app

cron:
#
# To make this work, set STATIC_CRON_TOKEN in your .env file or as an environment variable and replace REPLACEME below
# The STATIC_CRON_TOKEN must be *exactly* 32 characters long
#
image: alpine:latest
container_name: firefly-iii-cron
restart: unless-stopped
command: sh -c "echo \"0 3 * * * wget -qO- http://app:8080/api/v1/cron/d4f39d7ee52630bcdde3181762ac1439\" | crontab - && crond -f -L /dev/stdout"
networks:
- firefly-iii

networks:
firefly-iii:
name: firefly-iii
driver: bridge

x-casaos:
architectures:
- amd64
- arm64
- arm
main: app
author: Firefly III
category: Finance
description:
en_us: Firefly III is a (self-hosted) manager for your personal finances. It can help you keep track of your expenses and income, so you can spend less and save more. Firefly III supports the use of budgets, categories and tags. It can import data from external sources and it has many neat financial reports available.
zh_cn: Firefly III 是一款 (自托管) 个人理财管理工具,它可以帮助你追踪支出和收入,让你少花钱、多存钱。Firefly III 支持使用预算、分类和标签,可以导入外部数据,并提供许多简洁的财务报告。
developer: Firefly III
icon: https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/firefly-iii/icon.svg
screenshot_link:
- https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/firefly-iii/screenshot-1.png
- https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/firefly-iii/screenshot-1.png
- https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/firefly-iii/screenshot-1.png
tagline:
en_us: Your personal finance manager
zh_cn: 您的个人财务经理
title:
en_us: Firefly III
index: /
port_map: "38080"
Binary file added Apps/firefly-iii/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions Apps/firefly-iii/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Apps/firefly-iii/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Apps/firefly-iii/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Apps/firefly-iii/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ If you think this project is helpful to you, you can give me a little support. T
| ![FAST OS DOCKER](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/fast-os-docker/icon.png) | [FAST OS DOCKER](./Apps/fast-os-docker) | FAST OS DOCKER is a graphical management tool for Docker, providing users with Docker overview, local container management, remote image pulling, server disk mapping, server network management, and more. It can meet the container management needs of small to medium-sized organizations.<br>FAST OS DOCKER是Docker的图形化管理工具,为用户提供了Docker总览、本地容器管理、远程镜像拉取、服务器磁盘映射、服务器网络管理等功能,基本能满足中小型单位对容器管理的全部需求。 |
| ![FastGPT](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/fastgpt/icon.png) | [FastGPT](./Apps/fastgpt) | FastGPT is a knowledge-based QA system built on the LLM, offers out-of-the-box data processing and model invocation capabilities, allows for workflow orchestration through Flow visualization!<br>FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开箱即用的数据处理、模型调用等能力。同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的问答场景! |
| ![FileCodeBox](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/filecodebox/icon.png) | [FileCodeBox](./Apps/filecodebox) | FileCodeBox is a simple and easy-to-use file sharing platform that allows you to share files and texts anonymously without registration. Users can upload files by copying, pasting or dragging and dropping, and enjoy the security of password sharing, error count limit and IP upload count limit. It supports multi-language, one-click docker deployment, and free to expand the storage engine.<br>FileCodeBox 是一个简洁易用的文件分享平台,无需注册即可匿名分享文件和文本。用户可通过复制粘贴或拖拽上传,享有口令分享、错误次数限制和IP上传次数限制等安全保障。支持多语言,一键部署docker,可自由拓展存储引擎。 |
| ![Firefly III](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/firefly-iii/icon.svg) | [Firefly III](./Apps/firefly-iii) | Firefly III is a (self-hosted) manager for your personal finances. It can help you keep track of your expenses and income, so you can spend less and save more. Firefly III supports the use of budgets, categories and tags. It can import data from external sources and it has many neat financial reports available.<br>Firefly III 是一款 (自托管) 个人理财管理工具,它可以帮助你追踪支出和收入,让你少花钱、多存钱。Firefly III 支持使用预算、分类和标签,可以导入外部数据,并提供许多简洁的财务报告。 |
| ![Firefox](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/firefox/icon.png) | [Firefox](./Apps/firefox) | Firefox Browser, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards.<br>Firefox 浏览器,是由 Mozilla 基金会及其子公司 Mozilla Corporation 开发的免费开源 Web 浏览器。Firefox 使用 Gecko 布局引擎来渲染网页,该引擎实现了当前和预期的 Web 标准。 |
| ![frpc](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/frpc/icon.png) | [frpc](./Apps/frpc) | A fast reverse proxy client that helps you expose a local server to the internet. It provides client authentication and supports multiple protocols.<br>一个快速的反向代理客户端,可以帮助您将本地服务器暴露到互联网。它提供客户端认证并支持多种协议。 |
| ![frps](https://cdn.jsdelivr.net/gh/Cp0204/CasaOS-AppStore-Play@main/Apps/frps/icon.png) | [frps](./Apps/frps) | A fast reverse proxy server that helps you expose a local server to the internet. It provides client authentication and supports multiple protocols.<br>一个快速的反向代理服务器,可以帮助您将本地服务器暴露到互联网。它提供客户端认证并支持多种协议。 |
Expand Down

0 comments on commit 13fd38c

Please sign in to comment.