Skip to content

Commit 0d96c1d

Browse files
authored
Merge pull request #4 from dappnode/fix/spec-m08-repository-url
fix: point repository metadata at this package (SPEC-M08)
2 parents 66fc2f4 + 2618870 commit 0d96c1d

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎build/splitpro/Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ RUN apk update && apk add --no-cache git
44

55
WORKDIR /app
66

7-
RUN git clone --depth 1 --branch v2.1.3 https://github.com/oss-apps/split-pro.git .
7+
ARG UPSTREAM_VERSION=v2.1.3
8+
RUN git clone --depth 1 --branch "${UPSTREAM_VERSION}" https://github.com/oss-apps/split-pro.git .
89

910
ENV SKIP_ENV_VALIDATION=true
1011
ENV DOCKER_OUTPUT=1

‎dappnode_package.json‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"name": "split-pro.public.dappnode.eth",
33
"version": "0.1.0",
4-
"upstreamRepo": "oss-apps/split-pro",
4+
"upstream": [
5+
{
6+
"repo": "oss-apps/split-pro",
7+
"version": "v2.1.3",
8+
"arg": "UPSTREAM_VERSION"
9+
}
10+
],
511
"shortDescription": "SplitPro — free shared expenses for groups",
612
"description": "SplitPro is a free, open-source app for sharing expenses with friends and family. Create groups, add expenses, and settle up. This DAppNode package runs SplitPro with PostgreSQL, pg_cron for recurring transactions, and email magic-link authentication via NextAuth.\n\nPackage entrypoint:\n- Web app: http://split-pro.public.dappnode:3000\n\nSetup wizard:\n- Configure SMTP settings for email signup and invites. Email is the primary auth provider. OAuth/OIDC providers can be added later via environment variables.\n\nImportant notes:\n- On first launch, the package generates POSTGRES_PASSWORD and NEXTAUTH_SECRET and persists them in the config volume.\n- The splitpro server uses NextAuth email OTP (magic link) authentication. SMTP must be configured for sign-in to work.\n- Recurring transactions require pg_cron which is enabled by default.",
713
"type": "service",
@@ -62,7 +68,7 @@
6268
"changelog": "Initial DAppNode package for SplitPro v2.1.3. Includes PostgreSQL with pg_cron, auto-generated secrets, and setup wizard for SMTP configuration.",
6369
"repository": {
6470
"type": "git",
65-
"url": "https://github.com/oss-apps/split-pro.git"
71+
"url": "https://github.com/dappnode/DAppNodePackage-SplitPro.git"
6672
},
6773
"license": "AGPL-3.0"
6874
}

‎docker-compose.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ services:
4141
build:
4242
context: .
4343
dockerfile: build/splitpro/Dockerfile
44+
args:
45+
UPSTREAM_VERSION: v2.1.3
4446
image: splitpro.split-pro.public.dappnode.eth:0.1.0
4547
restart: always
4648
environment:

0 commit comments

Comments
 (0)