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,22 +66,21 @@ services:
scopesentry-scan:
image: autumn27/scopesentry-scan:latest
network_mode: host
container_name: scopesentry-scan
restart: always
environment:
NodeName: node-test
TimeZoneName: Asia/Shanghai
Mongodb_IP: scopesentry-mongodb
Mongodb_IP: 127.0.0.1
MONGODB_PORT: 27017
Mongodb_Username: "mongodb_username"
Mongodb_Password: "mongodb_password"
Redis_IP: scopesentry-redis
Redis_IP: 127.0.0.1
Redis_PORT: 6379
Redis_Password: "redis_password"
depends_on:
redis:
condition: service_healthy
scope-sentry:
condition: service_healthy
networks:
- scopesentry-network
condition: service_healthy