fix: add diyue-network
This commit is contained in:
parent
93f5e8f976
commit
d8a5d790b2
|
@ -15,7 +15,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: "3"
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
apisix-dashboard:
|
||||
|
@ -47,7 +47,8 @@ services:
|
|||
- "9443:9443/tcp"
|
||||
- "9092:9092/tcp"
|
||||
networks:
|
||||
apisix:
|
||||
- apisix
|
||||
- diyue-network
|
||||
|
||||
etcd:
|
||||
image: bitnami/etcd:latest
|
||||
|
@ -95,6 +96,9 @@ services:
|
|||
networks:
|
||||
apisix:
|
||||
driver: bridge
|
||||
diyue-network:
|
||||
driver: overlay
|
||||
attachable: true
|
||||
|
||||
volumes:
|
||||
etcd_data:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3"
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
mongodb:
|
||||
|
@ -14,7 +14,8 @@ services:
|
|||
- MONGO_INITDB_ROOT_USERNAME=admin
|
||||
- MONGO_INITDB_ROOT_PASSWORD=mongodb27017
|
||||
networks:
|
||||
mongodb_network:
|
||||
- mongodb_network
|
||||
- diyue-network
|
||||
mongo-express:
|
||||
image: mongo-express
|
||||
hostname: mongo-express
|
||||
|
@ -32,6 +33,9 @@ services:
|
|||
networks:
|
||||
mongodb_network:
|
||||
driver: bridge
|
||||
diyue-network:
|
||||
driver: overlay
|
||||
attachable: true
|
||||
|
||||
volumes:
|
||||
mongodb_data:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3"
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
rabbitmq:
|
||||
|
@ -17,7 +17,8 @@ services:
|
|||
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:-admin}
|
||||
restart: always
|
||||
networks:
|
||||
rabbitmq_network:
|
||||
- rabbitmq_network
|
||||
- diyue-network
|
||||
|
||||
|
||||
volumes:
|
||||
|
@ -29,3 +30,6 @@ volumes:
|
|||
networks:
|
||||
rabbitmq_network:
|
||||
driver: bridge
|
||||
diyue-network:
|
||||
driver: overlay
|
||||
attachable: true
|
|
@ -1,4 +1,4 @@
|
|||
version: '3.8'
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
redis:
|
||||
|
@ -12,11 +12,15 @@ services:
|
|||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
redis_network:
|
||||
- redis_network
|
||||
- diyue-network
|
||||
|
||||
networks:
|
||||
redis_network:
|
||||
driver: bridge
|
||||
diyue-network:
|
||||
driver: overlay
|
||||
attachable: true
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
|
|
Loading…
Reference in New Issue