ports
This commit is contained in:
17
.gitignore
vendored
Normal file
17
.gitignore
vendored
Normal 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
17
deploy/stack.env.example
Normal 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
|
||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user