Initial commit: Full project structure
- Backend: NestJS with Docker - Frontend: Next.js with Docker - Nginx configuration for reverse proxy - PostgreSQL setup - Docker compose for orchestration - Development environment configuration
This commit is contained in:
22
infrastructure/.env.example
Normal file
22
infrastructure/.env.example
Normal file
@@ -0,0 +1,22 @@
|
||||
# Docker Hub Configuration
|
||||
DOCKER_USERNAME=yourdockerhub
|
||||
TAG=v1.0.0
|
||||
|
||||
# Domain Configuration
|
||||
DOMAIN=dyolink.com
|
||||
|
||||
# Database Environment (create database.env from this)
|
||||
# POSTGRES_USER=dyolink_user
|
||||
# POSTGRES_PASSWORD=CHANGE_THIS_IN_PRODUCTION
|
||||
# POSTGRES_DB=dyolink_db
|
||||
|
||||
# Backend Environment (create backend.env from this)
|
||||
# NODE_ENV=production
|
||||
# JWT_SECRET=CHANGE_THIS_TO_STRONG_SECRET_32_CHARS
|
||||
# DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||
# CORS_ORIGIN=https://dyolink.com
|
||||
|
||||
# Frontend Environment (create frontend.env from this)
|
||||
# NEXT_PUBLIC_API_URL=/api
|
||||
# NEXT_PUBLIC_APP_NAME=Dyolink
|
||||
# NEXT_PUBLIC_APP_URL=https://dyolink.com
|
||||
Reference in New Issue
Block a user