This commit is contained in:
hhftechnologies
2025-11-21 11:24:04 +05:30
parent e00211d196
commit bb01b77a69
3 changed files with 3 additions and 18 deletions

View File

@@ -1,15 +0,0 @@
# .env file for nginx service
# Make sure you have updated/checked the .env file with the correct variables.
# All the need to be defined here.
# Service Configuration
SERVICE=nginx
IMAGE_URL=nginx:latest
SERVICEPORT=80
# Template Variables
MAIN_DOMAIN=example.com
NGINX_PORT=80
# DNS Configuration
DNS_SERVER=9.9.9.9

View File

@@ -6,7 +6,7 @@ services:
container_name: nginx
restart: unless-stopped
ports:
- "${NGINX_PORT:-80}:80" # HTTP port
- 80:80 # HTTP port
volumes:
- ./config:/etc/nginx/conf.d # Nginx configuration
environment:

View File

@@ -8,7 +8,7 @@ services:
volumes:
- redis_volume_data:/data # Redis data persistence
ports:
- "${REDIS_PORT:-6379}:6379" # Redis default port
- 6379:6379 # Redis default port
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD:-}
command: redis-server --appendonly yes
@@ -17,7 +17,7 @@ services:
container_name: redis_insight
restart: unless-stopped
ports:
- "${REDIS_INSIGHT_PORT:-8001}:8001" # Redis Insight web UI
- 8001:8001 # Redis Insight web UI
volumes:
- redis_insight_volume_data:/db # Redis Insight data