Compare commits
No commits in common. "main" and "turquoise" have entirely different histories.
210 changed files with 2196 additions and 1714 deletions
47
.dockerignore
Normal file
47
.dockerignore
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
# Dependencies
|
||||||
|
node_modules/
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# Development files
|
||||||
|
*.md
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
|
||||||
|
# OS generated files
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
._*
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
ehthumbs.db
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Editor files
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Environment files
|
||||||
|
.env
|
||||||
|
.env.local
|
||||||
|
.env.development.local
|
||||||
|
.env.test.local
|
||||||
|
.env.production.local
|
||||||
|
|
||||||
|
# CI/CD
|
||||||
|
.forgejo/
|
||||||
|
.github/
|
||||||
|
|
||||||
|
# Other
|
||||||
|
coverage/
|
||||||
|
.nyc_output/
|
||||||
|
|
||||||
|
# Built files (will be built inside Docker)
|
||||||
|
dist/
|
|
@ -1,10 +0,0 @@
|
||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
end_of_line = lf
|
|
||||||
insert_final_newline = true
|
|
||||||
|
|
||||||
[*.{js,json,.yml}]
|
|
||||||
charset = utf-8
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
8
.env.example
Normal file
8
.env.example
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Copy to .env and fill in your secrets
|
||||||
|
# These are used by the Bun/Elysia server to fetch your current/last played track from Last.fm
|
||||||
|
LASTFM_API_KEY=
|
||||||
|
LASTFM_USERNAME=
|
||||||
|
|
||||||
|
# Optional
|
||||||
|
PORT=3000
|
||||||
|
NODE_ENV=development
|
|
@ -3,7 +3,7 @@ name: Build and Push Docker Image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main # Adjust if your main branch is different
|
- turquoise
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*' # Trigger on version tags
|
- 'v*.*.*' # Trigger on version tags
|
||||||
|
|
||||||
|
@ -26,14 +26,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Recommended for metadata action
|
fetch-depth: 0 # Recommended for metadata action
|
||||||
|
|
||||||
- name: Install pnpm dependencies
|
|
||||||
run: pnpm i
|
|
||||||
shell: sh
|
|
||||||
|
|
||||||
- name: Build project
|
|
||||||
run: pnpm run build
|
|
||||||
shell: sh
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
@ -55,7 +47,7 @@ jobs:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_BASE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
# Use 'github.ref' for branch/tag detection
|
# Use 'github.ref' for branch/tag detection
|
||||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} # Adjust 'main' if needed
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'turquoise') }}
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=sha,format=short # Tag with short Git SHA
|
type=sha,format=short # Tag with short Git SHA
|
||||||
|
@ -65,11 +57,11 @@ jobs:
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
org.opencontainers.image.revision=${{ github.sha }}
|
||||||
org.opencontainers.image.ref.name=${{ github.ref_name }}
|
org.opencontainers.image.ref.name=${{ github.ref_name }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push minimal Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile # Uses the Alpine-based minimal container
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }} # Use tags from metadata step
|
tags: ${{ steps.meta.outputs.tags }} # Use tags from metadata step
|
||||||
labels: ${{ steps.meta.outputs.labels }} # Use labels from metadata step
|
labels: ${{ steps.meta.outputs.labels }} # Use labels from metadata step
|
||||||
|
|
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1 +0,0 @@
|
||||||
/.yarn/** linguist-vendored
|
|
30
.gitignore
vendored
30
.gitignore
vendored
|
@ -1,5 +1,27 @@
|
||||||
node_modules
|
# Logs
|
||||||
docker-compose.yml
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
www/extra
|
node_modules
|
||||||
www/css/style.css
|
dist
|
||||||
|
dist-ssr
|
||||||
|
*.local
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
.env
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/arg-npm-5.0.2-2f5805a547-2fe52bbdfa.zip
vendored
BIN
.yarn/cache/arg-npm-5.0.2-2f5805a547-2fe52bbdfa.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/dlv-npm-1.1.3-187c903a21-3ed2cd5054.zip
vendored
BIN
.yarn/cache/dlv-npm-1.1.3-187c903a21-3ed2cd5054.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/fsevents-patch-8036bb578f-b4a5cd7915.zip
vendored
BIN
.yarn/cache/fsevents-patch-8036bb578f-b4a5cd7915.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/glob-npm-7.1.6-1ce3a5189a-789977b524.zip
vendored
BIN
.yarn/cache/glob-npm-7.1.6-1ce3a5189a-789977b524.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/ip-npm-2.0.0-204facb3cc-046f0487ff.zip
vendored
BIN
.yarn/cache/ip-npm-2.0.0-204facb3cc-046f0487ff.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue