update compose file

This commit is contained in:
Autumn.home 2024-06-18 01:39:11 +08:00
parent 670e697edb
commit 34d16789cb
1 changed files with 4 additions and 5 deletions

View File

@ -66,16 +66,17 @@ services:
scopesentry-scan: scopesentry-scan:
image: autumn27/scopesentry-scan:latest image: autumn27/scopesentry-scan:latest
network_mode: host
container_name: scopesentry-scan container_name: scopesentry-scan
restart: always restart: always
environment: environment:
NodeName: node-test NodeName: node-test
TimeZoneName: Asia/Shanghai TimeZoneName: Asia/Shanghai
Mongodb_IP: scopesentry-mongodb Mongodb_IP: 127.0.0.1
MONGODB_PORT: 27017 MONGODB_PORT: 27017
Mongodb_Username: "mongodb_username" Mongodb_Username: "mongodb_username"
Mongodb_Password: "mongodb_password" Mongodb_Password: "mongodb_password"
Redis_IP: scopesentry-redis Redis_IP: 127.0.0.1
Redis_PORT: 6379 Redis_PORT: 6379
Redis_Password: "redis_password" Redis_Password: "redis_password"
depends_on: depends_on:
@ -83,5 +84,3 @@ services:
condition: service_healthy condition: service_healthy
scope-sentry: scope-sentry:
condition: service_healthy condition: service_healthy
networks:
- scopesentry-network