Compare commits

..

8 Commits

Author SHA1 Message Date
2090abcc51 fix: add latest tag for default branch in Docker metadata extraction
All checks were successful
build-and-push-docker / docker (push) Successful in 2m14s
2025-08-18 13:54:46 +00:00
1104c079dc fix: format Dockerfile for improved readability and consistency 2025-08-18 13:54:41 +00:00
7973c9e2c8 fix: update image source and restore volume paths in docker-compose.yml 2025-08-18 13:36:06 +00:00
37774b1b99 fix: update import path for AppBar component and remove unnecessary comment in service worker file
All checks were successful
build-and-push-docker / docker (push) Successful in 2m26s
2025-08-18 13:19:31 +00:00
5454dac5a7 Add system dependencies installation step in Docker workflow
Some checks failed
build-and-push-docker / docker (push) Failing after 2m0s
2025-08-18 13:00:51 +00:00
f20ef97230 Refactor Docker workflow: remove system dependencies installation, update registry credentials, and adjust event conditionals
Some checks failed
build-and-push-docker / docker (push) Failing after 9s
2025-08-18 12:57:35 +00:00
32f5262b93 Update Gitea Container Registry URL in workflow configuration
Some checks failed
build-and-push-docker / docker (push) Failing after 23s
2025-08-18 12:53:10 +00:00
34dc770854 Update devcontainer image to use node:18 for consistency 2025-08-18 12:53:05 +00:00
7 changed files with 3351 additions and 294 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Noisedash Dev",
"image": "mcr.microsoft.com/devcontainers/node:20-bookworm",
"image": "node:18",
"forwardPorts": [8080, 1432],
"portsAttributes": {
"8080": { "label": "Vue dev server" },

View File

@@ -25,22 +25,23 @@ jobs:
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY_HOST }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
registry: gitea.purpleraft.com
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Extract metadata (tags, labels)
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_HOST }}/${{ env.REGISTRY_OWNER }}/${{ env.REGISTRY_REPO }}
images: gitea.purpleraft.com/${{ gitea.repository_owner }}/noisedash
tags: |
type=ref,event=branch
type=ref,event=tag
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Build (PR only)
if: ${{ github.event_name == 'pull_request' }}
if: ${{ gitea.event_name == 'pull_request' }}
uses: docker/build-push-action@v6
with:
context: .
@@ -50,20 +51,12 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push (branches/tags)
if: ${{ github.event_name != 'pull_request' }}
if: ${{ gitea.event_name != 'pull_request' }}
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
env:
# Example: registry.example.com or gitea.example.com
REGISTRY_HOST: ${{ secrets.REGISTRY_HOST }}
# Example: ryan (your user or org in Gitea)
REGISTRY_OWNER: ${{ secrets.REGISTRY_OWNER }}
# Example: noisedash (this repo name)
REGISTRY_REPO: ${{ secrets.REGISTRY_REPO }}

View File

@@ -1,10 +1,24 @@
# NoiseDash - Audio sample management platform
FROM node:20
LABEL maintainer="kaythomas@pm.me"
# Set working directory
WORKDIR /var/noisedash
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install --force
# Copy application code (includes default config files)
COPY . .
ENV NODE_ENV production
# Set production environment and build frontend
ENV NODE_ENV=production
RUN npm run build
# Expose application port
EXPOSE 1432
# Start the server
CMD [ "node", "server/bin/www.js" ]

View File

@@ -2,16 +2,13 @@ version: "3"
services:
noisedash:
image: noisedash/noisedash:latest
container_name: noisedash
image: gitea.purpleraft.com/ryan/noisedash:latest
ports:
- "1432:1432"
volumes:
- db:/var/noisedash/db
- samples:/var/noisedash/samples
- ./config/default.json:/var/noisedash/config/default.json
- ./db:/var/noisedash/db
- ./samples:/var/noisedash/samples
# Optional: Override default config if you have custom settings
# - ./config/default.json:/var/noisedash/config/default.json
volumes:
db:
samples:

3588
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@
</template>
<script>
import AppBar from '@/components/AppBar'
import AppBar from '@/components/AppBar.vue'
export default {
name: 'App',

View File

@@ -1,4 +1,3 @@
/* global workbox */
// Registers the service worker generated by @vue/cli-plugin-pwa
// This enables installability and offline caching for static assets.