diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c8bb5a1 --- /dev/null +++ b/.gitignore @@ -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 diff --git a/deploy/stack.env.example b/deploy/stack.env.example new file mode 100644 index 0000000..d800ad8 --- /dev/null +++ b/deploy/stack.env.example @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 451ea98..aee283d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: POSTGRES_PASSWORD: rmtpw_password POSTGRES_DB: rmtpocketwatcher ports: - - "5432:5432" + - "5441:5432" volumes: - postgres_data:/var/lib/postgresql/data healthcheck: