summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/firefly-iii.yml
blob: 22025569121ba53b360f260fe00e39b168fe150c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
captainVersion: 4
services:
    $$cap_appname:
        image: fireflyiii/core:$$cap_firefly_version
        volumes:
            - $$cap_appname-export:/var/www/firefly-iii/storage/export
            - $$cap_appname-upload:/var/www/firefly-iii/storage/upload
        restart: always
        depends_on:
            - $$cap_appname-db
        environment:
            SITE_OWNER: $$cap_firefly_site-owner
            TZ: $$cap_firefly_time-zone
            TRUSTED_PROXIES: '**'
            DB_CONNECTION: mysql
            DB_PORT: 3306
            DB_DATABASE: firefly
            DB_USERNAME: firefly
            DB_HOST: srv-captain--$$cap_appname-db
            DB_PASSWORD: $$cap_mariadb_password
            APP_KEY: $$cap_firefly_app-key
        caproverExtra:
            containerHttpPort: '8080'
    $$cap_appname-db:
        image: mariadb:$$cap_mariadb_version
        volumes:
            - $$cap_appname-db-data:/var/lib/mysql
        restart: always
        environment:
            MYSQL_ROOT_PASSWORD: $$cap_mariadb_password
            MYSQL_DATABASE: firefly
            MYSQL_USER: firefly
            MYSQL_PASSWORD: $$cap_mariadb_password
        caproverExtra:
            notExposeAsWebApp: 'true'
caproverOneClickApp:
    variables:
        - id: $$cap_mariadb_version
          label: Mariadb Version Tag
          description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags
          defaultValue: 10.5.4
          validRegex: /^([^\s^\/])+$/
        - id: $$cap_mariadb_password
          label: Mariadb Password
          description: The password of the Mariadb Database"
          validRegex: /.{1,}/
        - id: $$cap_firefly_version
          label: Firefly Version Tag
          description: Check out their Docker page for the valid tags https://hub.docker.com/r/fireflyiii/core/tags
          defaultValue: version-5.5.13
          validRegex: /^([^\s^\/])+$/
        - id: $$cap_firefly_site-owner
          label: Firefly Site Owner Mail
          description: The email address of the owner of the app.
          validRegex: /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/
        - id: $$cap_firefly_time-zone
          label: Time zone
          description: The preferred time zone. Check out the available time zone on https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
          defaultValue: Europe/Brussels
          validRegex: /.{1,}/
        - id: $$cap_firefly_app-key
          label: Firefly APP KEY
          description: The key from which everything is encrypted. Generate one on https://passwordsgenerator.net/?length=32&symbols=0&numbers=1&lowercase=1&uppercase=1&similar=0&ambiguous=0&client=1&autoselect=0
          defaultValue: qSAY3tVhAHgz87gusKFoPbg9hpCnMVTR
          validRegex: /^[A-Za-z0-9]{32}$/
    instructions:
        start: Enter your Firefly III Configuration parameters and click on next. It will take about a minute for the process to finish.
        end: Firefly III is deployed and available from the url http://$$cap_appname.$$cap_root_domain
    displayName: Firefly III
    description: Firefly III - A free and open source personal finance manager
    documentation: Taken from https://docs.firefly-iii.org/installation/docker