27 lines
878 B
Bash
27 lines
878 B
Bash
# Chat Server Database Configuration Template
|
|
# Copy this to your .env file and update the values for your new server
|
|
|
|
# Database Configuration for New Server
|
|
CHAT_DB_HOST=your-new-server-ip-or-hostname
|
|
CHAT_DB_PORT=5432
|
|
CHAT_DB_NAME=rocketchat_converted
|
|
CHAT_DB_USER=rocketchat_user
|
|
CHAT_DB_PASSWORD=your-secure-password
|
|
|
|
# Chat Server Port
|
|
CHAT_PORT=3014
|
|
|
|
# Example configuration:
|
|
# CHAT_DB_HOST=192.168.1.100
|
|
# CHAT_DB_PORT=5432
|
|
# CHAT_DB_NAME=rocketchat_converted
|
|
# CHAT_DB_USER=rocketchat_user
|
|
# CHAT_DB_PASSWORD=MySecureP@ssw0rd123
|
|
|
|
# Notes:
|
|
# - Replace 'your-new-server-ip-or-hostname' with actual server address
|
|
# - Use a strong password for CHAT_DB_PASSWORD
|
|
# - Ensure the new server allows connections from your application server
|
|
# - Update any firewall rules to allow PostgreSQL connections (port 5432)
|
|
# - Test connectivity before updating production configuration
|