{
  "manifest_version": "1.0.0",
  "template": {
    "id": "742093fb-66b0-4df6-a05b-44f99e4fa102",
    "slug": "fireflyiii",
    "name": "Firefly iii",
    "description": "Open-source personal finance manager with double-entry accounting",
    "url": "https://railway.com/deploy/fireflyiii",
    "upstream": {
      "image": "fireflyiii/data-importer:latest"
    }
  },
  "services": [
    {
      "name": "importer",
      "source": {
        "image": "fireflyiii/data-importer:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "firefly",
      "source": {
        "image": "fireflyiii/core:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www/html/storage/upload",
      "http": true
    },
    {
      "name": "cron",
      "source": {
        "image": "alpine:latest"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "importer",
      "description": "Container timezone",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "importer",
      "description": "HTTP port used by the health check",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "APP_ENV",
      "service": "importer",
      "description": "Laravel environment name",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "APP_KEY",
      "service": "importer",
      "description": "Importer's own key, not Firefly's",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APP_DEBUG",
      "service": "importer",
      "description": "Disable debug output",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "VANITY_URL",
      "service": "importer",
      "description": "Browser-facing Firefly III URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "IS_EXTERNAL",
      "service": "importer",
      "description": "Importer is reachable from outside",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CAN_POST_FILES",
      "service": "importer",
      "description": "Keep unauthenticated file posting closed",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "FIREFLY_III_URL",
      "service": "importer",
      "description": "Private API address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TRUSTED_PROXIES",
      "service": "importer",
      "description": "Trust proxy headers for client IP",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0/0,::/0"
    },
    {
      "key": "EXPECT_SECURE_URL",
      "service": "importer",
      "description": "Advertise an https callback URL",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CAN_POST_AUTOIMPORT",
      "service": "importer",
      "description": "Keep unauthenticated auto-import closed",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory, a subdirectory of the volume mount",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Standard PostgreSQL port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "libpq alias of the superuser name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "libpq alias of the default database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "libpq alias of the superuser password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string, use this from other services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Validity window of the generated self-signed TLS certificate",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Generated superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public connection string over the TCP proxy, for external tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Grace period for in-flight connections on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Standard Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Default ACL user created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string, use this from other services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Convenience alias of the generated password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Generated password for the default user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "TZ",
      "service": "firefly",
      "description": "Container timezone",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "firefly",
      "description": "HTTP port used by the health check",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "APP_ENV",
      "service": "firefly",
      "description": "Laravel environment name",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "APP_KEY",
      "service": "firefly",
      "description": "Encryption key, exactly 32 characters",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APP_URL",
      "service": "firefly",
      "description": "Public base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_HOST",
      "service": "firefly",
      "description": "Postgres private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "firefly",
      "description": "Postgres port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_DB",
      "service": "firefly",
      "description": "Redis database index",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "APP_DEBUG",
      "service": "firefly",
      "description": "Disable debug output",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "MAIL_FROM",
      "service": "firefly",
      "description": "From address for outgoing mail",
      "secret": false,
      "strategy": "default",
      "default": "mail@example.com"
    },
    {
      "key": "REDIS_HOST",
      "service": "firefly",
      "description": "Redis private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "firefly",
      "description": "Redis port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SITE_OWNER",
      "service": "firefly",
      "description": "Owner contact address",
      "secret": false,
      "strategy": "default",
      "default": "mail@example.com"
    },
    {
      "key": "DB_DATABASE",
      "service": "firefly",
      "description": "Postgres database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PASSWORD",
      "service": "firefly",
      "description": "Postgres password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USERNAME",
      "service": "firefly",
      "description": "Postgres user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAIL_MAILER",
      "service": "firefly",
      "description": "Set to smtp to enable outgoing mail",
      "secret": false,
      "strategy": "default",
      "default": "log"
    },
    {
      "key": "CACHE_DRIVER",
      "service": "firefly",
      "description": "Keeps cache clears from wiping sessions",
      "secret": false,
      "strategy": "default",
      "default": "file"
    },
    {
      "key": "COOKIE_SECURE",
      "service": "firefly",
      "description": "Send session cookie over HTTPS only",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DB_CONNECTION",
      "service": "firefly",
      "description": "Database driver",
      "secret": false,
      "strategy": "default",
      "default": "pgsql"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "firefly",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_USERNAME",
      "service": "firefly",
      "description": "Redis ACL username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_DRIVER",
      "service": "firefly",
      "description": "Keep sessions outside the container",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "COOKIE_SAMESITE",
      "service": "firefly",
      "description": "Session cookie SameSite policy",
      "secret": false,
      "strategy": "default",
      "default": "lax"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "firefly",
      "description": "Start as root to chown the volume, then drop",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "TRUSTED_PROXIES",
      "service": "firefly",
      "description": "Trust proxy headers for client IP",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0/0,::/0"
    },
    {
      "key": "DEFAULT_LANGUAGE",
      "service": "firefly",
      "description": "Interface language",
      "secret": false,
      "strategy": "default",
      "default": "en_US"
    },
    {
      "key": "DKR_CHECK_SQLITE",
      "service": "firefly",
      "description": "Skip SQLite probe on a Postgres install",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "PHP_MEMORY_LIMIT",
      "service": "firefly",
      "description": "PHP memory ceiling for imports",
      "secret": false,
      "strategy": "default",
      "default": "512M"
    },
    {
      "key": "STATIC_CRON_TOKEN",
      "service": "firefly",
      "description": "Cron endpoint token, exactly 32 characters",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEND_ERROR_MESSAGE",
      "service": "firefly",
      "description": "Skip error mail while no mailer exists",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "CRON_SCHEDULE",
      "service": "cron",
      "description": "Daily cron expression, UTC",
      "secret": false,
      "strategy": "default",
      "default": "0 3 * * *"
    },
    {
      "key": "FIREFLY_III_URL",
      "service": "cron",
      "description": "Private address to call",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "STATIC_CRON_TOKEN",
      "service": "cron",
      "description": "Token shared with Firefly III",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "fireflyiii"
      }
    },
    "cli": "railway deploy --template fireflyiii",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "742093fb-66b0-4df6-a05b-44f99e4fa102",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "06e85250-34b3-46df-a5cf-a5c8ccf4b46e": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/firefly-iii.svg",
                  "name": "importer",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/token",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "fireflyiii/data-importer:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container timezone",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port used by the health check",
                      "defaultValue": "8080"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Laravel environment name",
                      "defaultValue": "production"
                    },
                    "APP_KEY": {
                      "isOptional": false,
                      "description": "Importer's own key, not Firefly's",
                      "defaultValue": "{{APP_KEY}}"
                    },
                    "APP_DEBUG": {
                      "isOptional": false,
                      "description": "Disable debug output",
                      "defaultValue": "false"
                    },
                    "VANITY_URL": {
                      "isOptional": false,
                      "description": "Browser-facing Firefly III URL",
                      "defaultValue": "https://${{firefly.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "IS_EXTERNAL": {
                      "isOptional": false,
                      "description": "Importer is reachable from outside",
                      "defaultValue": "true"
                    },
                    "CAN_POST_FILES": {
                      "isOptional": false,
                      "description": "Keep unauthenticated file posting closed",
                      "defaultValue": "false"
                    },
                    "FIREFLY_III_URL": {
                      "isOptional": false,
                      "description": "Private API address",
                      "defaultValue": "http://${{firefly.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Trust proxy headers for client IP",
                      "defaultValue": "0.0.0.0/0,::/0"
                    },
                    "EXPECT_SECURE_URL": {
                      "isOptional": false,
                      "description": "Advertise an https callback URL",
                      "defaultValue": "true"
                    },
                    "CAN_POST_AUTOIMPORT": {
                      "isOptional": false,
                      "description": "Keep unauthenticated auto-import closed",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "5482dbb9-65e1-4d76-8018-7d93df1989fe": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory, a subdirectory of the volume mount",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Standard PostgreSQL port",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser name",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "libpq alias of the default database",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser password",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Validity window of the generated self-signed TLS certificate",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public connection string over the TCP proxy, for external tools",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period for in-flight connections on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "5482dbb9-65e1-4d76-8018-7d93df1989fe": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "84694ad8-69f6-4029-b54e-21d05eb19266": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Standard Redis port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Default ACL user created on first boot",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Convenience alias of the generated password",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the default user",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "84694ad8-69f6-4029-b54e-21d05eb19266": {
                      "mountPath": "/data"
                    }
                  }
                },
                "b49b90c9-be9b-4ab2-840e-b5f96d767e0b": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/firefly-iii.svg",
                  "name": "firefly",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'set -e; mkdir -p /var/www/html/storage/upload; echo \"railway-boot: uid=$(id -u) gid=$(id -g)\"; if [ \"$(id -u)\" = \"0\" ]; then chown -R www-data:www-data /var/www/html/storage/upload; ls -ld /var/www/html/storage/upload; HOME=$(getent passwd www-data | cut -d: -f6); export HOME; echo \"railway-boot: dropping to www-data, HOME=$HOME\"; setpriv --reuid=www-data --regid=www-data --init-groups id; exec setpriv --reuid=www-data --regid=www-data --init-groups docker-php-serversideup-entrypoint /init; fi; echo \"railway-boot: already unprivileged\"; exec docker-php-serversideup-entrypoint /init'",
                    "healthcheckPath": "/up",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "fireflyiii/core:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container timezone",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port used by the health check",
                      "defaultValue": "8080"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Laravel environment name",
                      "defaultValue": "production"
                    },
                    "APP_KEY": {
                      "isOptional": false,
                      "description": "Encryption key, exactly 32 characters",
                      "defaultValue": "{{APP_KEY}}"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "Public base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "Postgres private hostname",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "REDIS_DB": {
                      "isOptional": false,
                      "description": "Redis database index",
                      "defaultValue": "0"
                    },
                    "APP_DEBUG": {
                      "isOptional": false,
                      "description": "Disable debug output",
                      "defaultValue": "false"
                    },
                    "MAIL_FROM": {
                      "isOptional": false,
                      "description": "From address for outgoing mail",
                      "defaultValue": "mail@example.com"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis private hostname",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "SITE_OWNER": {
                      "isOptional": false,
                      "description": "Owner contact address",
                      "defaultValue": "mail@example.com"
                    },
                    "DB_DATABASE": {
                      "isOptional": false,
                      "description": "Postgres database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "DB_USERNAME": {
                      "isOptional": false,
                      "description": "Postgres user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "MAIL_MAILER": {
                      "isOptional": false,
                      "description": "Set to smtp to enable outgoing mail",
                      "defaultValue": "log"
                    },
                    "CACHE_DRIVER": {
                      "isOptional": false,
                      "description": "Keeps cache clears from wiping sessions",
                      "defaultValue": "file"
                    },
                    "COOKIE_SECURE": {
                      "isOptional": false,
                      "description": "Send session cookie over HTTPS only",
                      "defaultValue": "true"
                    },
                    "DB_CONNECTION": {
                      "isOptional": false,
                      "description": "Database driver",
                      "defaultValue": "pgsql"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    },
                    "REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis ACL username",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "SESSION_DRIVER": {
                      "isOptional": false,
                      "description": "Keep sessions outside the container",
                      "defaultValue": "redis"
                    },
                    "COOKIE_SAMESITE": {
                      "isOptional": false,
                      "description": "Session cookie SameSite policy",
                      "defaultValue": "lax"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Start as root to chown the volume, then drop",
                      "defaultValue": "0"
                    },
                    "TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Trust proxy headers for client IP",
                      "defaultValue": "0.0.0.0/0,::/0"
                    },
                    "DEFAULT_LANGUAGE": {
                      "isOptional": false,
                      "description": "Interface language",
                      "defaultValue": "en_US"
                    },
                    "DKR_CHECK_SQLITE": {
                      "isOptional": false,
                      "description": "Skip SQLite probe on a Postgres install",
                      "defaultValue": "false"
                    },
                    "PHP_MEMORY_LIMIT": {
                      "isOptional": false,
                      "description": "PHP memory ceiling for imports",
                      "defaultValue": "512M"
                    },
                    "STATIC_CRON_TOKEN": {
                      "isOptional": false,
                      "description": "Cron endpoint token, exactly 32 characters",
                      "defaultValue": "{{STATIC_CRON_TOKEN}}"
                    },
                    "SEND_ERROR_MESSAGE": {
                      "isOptional": false,
                      "description": "Skip error mail while no mailer exists",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "b49b90c9-be9b-4ab2-840e-b5f96d767e0b": {
                      "mountPath": "/var/www/html/storage/upload"
                    }
                  }
                },
                "f1381874-224a-4ca6-9676-efed3458a14f": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/firefly-iii.svg",
                  "name": "cron",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'printf \"%s wget -qO- %s/api/v1/cron/%s >> /proc/1/fd/1 2>&1\\n\" \"$CRON_SCHEDULE\" \"$FIREFLY_III_URL\" \"$STATIC_CRON_TOKEN\" > /etc/crontabs/root; echo \"railway-cron: schedule=$CRON_SCHEDULE target=$FIREFLY_III_URL/api/v1/cron/***\"; exec crond -f -l 8 -c /etc/crontabs -L /dev/stdout'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "alpine:latest"
                  },
                  "variables": {
                    "CRON_SCHEDULE": {
                      "isOptional": false,
                      "description": "Daily cron expression, UTC",
                      "defaultValue": "0 3 * * *"
                    },
                    "FIREFLY_III_URL": {
                      "isOptional": false,
                      "description": "Private address to call",
                      "defaultValue": "http://${{firefly.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "STATIC_CRON_TOKEN": {
                      "isOptional": false,
                      "description": "Token shared with Firefly III",
                      "defaultValue": "${{firefly.STATIC_CRON_TOKEN}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "importer",
      "method": "GET",
      "path": "/token",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-06T05:54:15.658Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T12:48:41.197Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e008a81d3d5b4c9f9263",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 158,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "importer"
  }
}
