ports
Some checks failed
Deploy Backend to Docker / deploy-portainer (push) Has been cancelled
Deploy Backend to Docker / deploy (push) Has been cancelled

This commit is contained in:
2025-12-03 21:13:10 -05:00
parent b7c2e0fc24
commit 0220554dbb
3 changed files with 35 additions and 1 deletions

17
.gitignore vendored Normal file
View File

@@ -0,0 +1,17 @@
# Environment files with secrets
.env
*.env
!*.env.example
deploy/stack.env
# Dependencies
node_modules/
# Build outputs
dist/
release/
*.log
# OS files
.DS_Store
Thumbs.db

17
deploy/stack.env.example Normal file
View File

@@ -0,0 +1,17 @@
# PostgreSQL Configuration
POSTGRES_USER=rmtpw
POSTGRES_PASSWORD=your_secure_password_here
POSTGRES_DB=rmtpocketwatcher
# Docker Registry Configuration
DOCKER_REGISTRY=ghcr.io
DOCKER_IMAGE=lambdabanking/rmtpocketwatcher-backend
IMAGE_TAG=latest
# Backend Configuration
BACKEND_PORT=3000
# Scraper Configuration
SCRAPE_INTERVAL=5
SCRAPER_TIMEOUT=30000
SCRAPER_MAX_RETRIES=3

View File

@@ -10,7 +10,7 @@ services:
POSTGRES_PASSWORD: rmtpw_password POSTGRES_PASSWORD: rmtpw_password
POSTGRES_DB: rmtpocketwatcher POSTGRES_DB: rmtpocketwatcher
ports: ports:
- "5432:5432" - "5441:5432"
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
healthcheck: healthcheck: