refactor: .env as single config, remove nexusguard.conf.example, update docker-compose

This commit is contained in:
datadunia
2026-05-31 05:38:13 +07:00
parent 549ee80c5d
commit f4f8be12df
4 changed files with 4 additions and 47 deletions
+2 -11
View File
@@ -38,20 +38,11 @@ services:
context: ./apps/server-core
dockerfile: Dockerfile
network_mode: host
env_file:
- .env
environment:
- DB_HOST=127.0.0.1
- DB_PORT=5432
- DB_USER=nexusguard
- DB_PASSWORD=${DB_PASSWORD:-nexusguard}
- DB_NAME=nexusguard
- REDIS_ADDR=127.0.0.1:6379
- JWT_SECRET=${JWT_SECRET:-changeme}
- SERVER_SALT=${SERVER_SALT:-changeme}
- NFTABLES_TABLE=nexusguard
- IPAM_POOL=10.172.0.0/16
- GIN_MODE=release
volumes:
- ./nexusguard.conf:/etc/nexusguard/nexusguard.conf:ro
depends_on:
postgres:
condition: service_healthy