mirror of
https://gitea.bearcatlog.com/Bryant/chassis-agent
synced 2025-01-19 07:05:34 +08:00
fix: mongodb adjust
This commit is contained in:
parent
cd5a91785b
commit
6f4cf73258
@ -15,28 +15,23 @@ services:
|
|||||||
- MONGO_INITDB_ROOT_PASSWORD=mongodb27017
|
- MONGO_INITDB_ROOT_PASSWORD=mongodb27017
|
||||||
networks:
|
networks:
|
||||||
- mongodb_network
|
- mongodb_network
|
||||||
- diyue-network
|
# mongo-express:
|
||||||
mongo-express:
|
# image: mongo-express
|
||||||
image: mongo-express
|
# hostname: mongo-express
|
||||||
hostname: mongo-express
|
# container_name: mongo-express
|
||||||
container_name: mongo-express
|
# restart: always
|
||||||
restart: always
|
# ports:
|
||||||
ports:
|
# - 8088:8081
|
||||||
- 8088:8081
|
# environment:
|
||||||
environment:
|
# - ME_CONFIG_MONGODB_ADMINUSERNAME=admin
|
||||||
- ME_CONFIG_MONGODB_ADMINUSERNAME=admin
|
# - ME_CONFIG_MONGODB_ADMINPASSWORD=mongodb27017
|
||||||
- ME_CONFIG_MONGODB_ADMINPASSWORD=mongodb27017
|
# - ME_CONFIG_MONGODB_SERVER=mongodb
|
||||||
- ME_CONFIG_MONGODB_SERVER=mongodb
|
# networks:
|
||||||
networks:
|
# - mongodb_network
|
||||||
- mongodb_network
|
|
||||||
- diyue-network
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
mongodb_network:
|
mongodb_network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
diyue-network:
|
|
||||||
driver: overlay
|
|
||||||
attachable: true
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mongodb_data:
|
mongodb_data:
|
||||||
|
Loading…
Reference in New Issue
Block a user