refactor: .env as single config, remove nexusguard.conf.example, update docker-compose
This commit is contained in:
+2
-11
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user