Skip to content

Commit

Permalink
Merge pull request #57 from zaanposni/release/1.15.0
Browse files Browse the repository at this point in the history
release/1.15.0
  • Loading branch information
zaanposni authored Nov 10, 2024
2 parents 4323c0c + 82375d1 commit db0b0aa
Show file tree
Hide file tree
Showing 19 changed files with 2,449 additions and 311 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ TWITTER_PASSWORD=
TWITTER_LIST_ID=

YOUTUBE_API_KEY=

SVELTEKIT_SENTRY_DSN=

UMAMI_ID=
10 changes: 9 additions & 1 deletion .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ jobs:
- name: Build frontend
working-directory: ./src/psaggregator
run: docker build -t ghcr.io/${{ github.repository_owner }}/psaggregator_frontend:latest -t ghcr.io/${{ github.repository_owner }}/psaggregator_frontend:${{ env.VERSION }} .
run: |
docker build \
-t ghcr.io/${{ github.repository_owner }}/psaggregator_frontend:latest \
-t ghcr.io/${{ github.repository_owner }}/psaggregator_frontend:${{ env.VERSION }} \
--build-arg SENTRY_UPLOAD_SOURCEMAPS=true \
--build-arg SENTRY_ORG=${{ vars.SENTRY_ORG }} \
--build-arg SENTRY_PROJECT=${{ vars.SENTRY_PROJECT }} \
--build-arg SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
.
- name: Build nginx
working-directory: ./src/nginx
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
environment:
- PRIVATE_DATABASE_URL=${DATABASE_URL}
- PUBLIC_LEGAL_URL=${LEGAL_URL}
- PUBLIC_MICROANALYTICS_ID=${MICROANALYTICS_ID}
- PUBLIC_UMAMI_ID=${UMAMI_ID}
- PUBLIC_KOFI_USERNAME=${KOFI_USERNAME}
depends_on:
- db
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ services:
environment:
- PRIVATE_DATABASE_URL=${DATABASE_URL}
- PUBLIC_LEGAL_URL=${LEGAL_URL}
- PUBLIC_MICROANALYTICS_ID=${MICROANALYTICS_ID}
- PUBLIC_UMAMI_ID=${UMAMI_ID}
- PUBLIC_KOFI_USERNAME=${KOFI_USERNAME}
- PUBLIC_SENTRY_DSN=${SVELTEKIT_SENTRY_DSN}
depends_on:
- db
networks:
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Website][repo_website_img]][website_url]
[![License][repo_license_img]][repo_license_url]

PietSmiet Aggregator is a selfhostable web application that aggregates all the videos, streams and additional content from PietSmiet and displays them in a nice overview.
psaggregator is a selfhostable web application that aggregates all the videos, streams and additional content from PietSmiet and displays them in a nice overview.

**Dashboard** - Display all PietSmiet videos and streams in a nice overview.\
**API** - Free and Public JSON HTTP API.\
Expand Down
10 changes: 10 additions & 0 deletions src/psaggregator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM node:20

ARG SENTRY_UPLOAD_SOURCEMAPS
ARG SENTRY_ORG
ARG SENTRY_PROJECT
ARG SENTRY_AUTH_TOKEN

WORKDIR /app
COPY package*.json ./

Expand All @@ -9,6 +14,11 @@ COPY . ./

RUN npm run prismagenerate

ENV SENTRY_UPLOAD_SOURCEMAPS=${SENTRY_UPLOAD_SOURCEMAPS}
ENV SENTRY_ORG=${SENTRY_ORG}
ENV SENTRY_PROJECT=${SENTRY_PROJECT}
ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}

RUN npm run build

EXPOSE 3000
Expand Down
Loading

0 comments on commit db0b0aa

Please sign in to comment.