Skip to content

Commit 34d1678

Browse files
committed
update compose file
1 parent 670e697 commit 34d1678

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

single-host-deployment.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,21 @@ services:
6666

6767
scopesentry-scan:
6868
image: autumn27/scopesentry-scan:latest
69+
network_mode: host
6970
container_name: scopesentry-scan
7071
restart: always
7172
environment:
7273
NodeName: node-test
7374
TimeZoneName: Asia/Shanghai
74-
Mongodb_IP: scopesentry-mongodb
75+
Mongodb_IP: 127.0.0.1
7576
MONGODB_PORT: 27017
7677
Mongodb_Username: "mongodb_username"
7778
Mongodb_Password: "mongodb_password"
78-
Redis_IP: scopesentry-redis
79+
Redis_IP: 127.0.0.1
7980
Redis_PORT: 6379
8081
Redis_Password: "redis_password"
8182
depends_on:
8283
redis:
8384
condition: service_healthy
8485
scope-sentry:
85-
condition: service_healthy
86-
networks:
87-
- scopesentry-network
86+
condition: service_healthy

0 commit comments

Comments
 (0)