Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 43 additions & 11 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,45 @@
node_modules
npm-debug.log
.git
.gitignore
# Dependencies
node_modules/
npm-debug.log*

# Build outputs
dist/
build/

# Development files
.env
.env.*
*.md
.vscode
dist
build
coverage
.env.local
.env.development
.env.test
*.log

# IDE files
.vscode/
.idea/
*.swp
*.swo

# OS files
.DS_Store
.vs/
Thumbs.db

# Git
.git/
.gitignore

# Documentation (not needed in container)
*.md
docs/

# Test files
test/
tests/
*.test.js
*.spec.js

# Backend files not needed in frontend container
# server/ - removed to allow backend builds

# Temporary files
tmp/
temp/
54 changes: 54 additions & 0 deletions .dockerignore.backend
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Backend-specific .dockerignore

# Dependencies
node_modules/
npm-debug.log*

# Build outputs
dist/
build/

# Development files
.env
.env.local
.env.development
.env.test
*.log

# IDE files
.vscode/
.idea/
*.swp
*.swo

# OS files
.DS_Store
Thumbs.db

# Git
.git/
.gitignore

# Documentation
*.md
docs/

# Test files
test/
tests/
*.test.js
*.spec.js

# Frontend files not needed in backend container
src/
public/
index.html
vite.config.ts
tsconfig*.json
tailwind.config.js
postcss.config.js
eslint.config.js

# Temporary files
tmp/
temp/
47 changes: 47 additions & 0 deletions .dockerignore.frontend
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Frontend-specific .dockerignore

# Dependencies
node_modules/
npm-debug.log*

# Build outputs
dist/
build/

# Development files
.env
.env.local
.env.development
.env.test
*.log

# IDE files
.vscode/
.idea/
*.swp
*.swo

# OS files
.DS_Store
Thumbs.db

# Git
.git/
.gitignore

# Documentation
*.md
docs/

# Test files
test/
tests/
*.test.js
*.spec.js

# Backend files not needed in frontend container
server/

# Temporary files
tmp/
temp/
10 changes: 10 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Docker Environment Configuration
# Copy this to .env for Docker Compose deployment

# Authentication
JWT_SECRET=homelabarr-super-secret-jwt-key-change-this-in-production
DEFAULT_ADMIN_PASSWORD=admin

# Optional: Override default ports
# FRONTEND_PORT=8087
# BACKEND_PORT=3009
24 changes: 24 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Production Environment Configuration
NODE_ENV=production

# Backend Configuration
PORT=3001
CORS_ORIGIN=http://localhost:8087

# Docker Configuration
DOCKER_SOCKET=/var/run/docker.sock

# Security Configuration
AUTH_ENABLED=true
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRES_IN=24h
DEFAULT_ADMIN_PASSWORD=admin

# Logging Configuration
LOG_LEVEL=info

# Data Storage
DATA_PATH=/app/data

# Network Configuration
DEFAULT_NETWORK=homelabarr
2 changes: 2 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:
branches:
- "main"
- "feature/standard-deployment"
- "feature/overhaul"
# Trigger builds for semver tags and for a "dev" tag.
tags: [ 'v*.*.*', 'dev' ]
pull_request:
branches:
- "main"
- "feature/standard-deployment"
- "feature/overhaul"

env:
# Use docker.io for Docker Hub if empty
Expand Down
1 change: 0 additions & 1 deletion .vs/.test

This file was deleted.

Binary file not shown.
Binary file removed .vs/1.29.25homelabarrv3/v17/.wsuo
Binary file not shown.
23 changes: 0 additions & 23 deletions .vs/1.29.25homelabarrv3/v17/DocumentLayout.json

This file was deleted.

3 changes: 0 additions & 3 deletions .vs/ProjectSettings.json

This file was deleted.

6 changes: 0 additions & 6 deletions .vs/VSWorkspaceState.json

This file was deleted.

1 change: 0 additions & 1 deletion .vs/newtest.file

This file was deleted.

Binary file removed .vs/slnx.sqlite
Binary file not shown.
Loading