mirror of
https://gitea.bearcatlog.com/Bryant/chassis-agent
synced 2025-01-18 20:53:54 +08:00
fix: add network
This commit is contained in:
parent
429ad614d2
commit
2fa0cefb8f
@ -14,8 +14,15 @@ services:
|
|||||||
- MYSQL_USER=user
|
- MYSQL_USER=user
|
||||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-mysql3306}
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-mysql3306}
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
mysql_network:
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql_data:
|
mysql_data:
|
||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
mysql_network:
|
||||||
|
driver: bridge
|
@ -16,6 +16,8 @@ services:
|
|||||||
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER:-admin}
|
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER:-admin}
|
||||||
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:-admin}
|
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:-admin}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
networks:
|
||||||
|
rabbitmq_network:
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
@ -23,3 +25,7 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
rabbitmq_log:
|
rabbitmq_log:
|
||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
|
networks:
|
||||||
|
rabbitmq_network:
|
||||||
|
driver: bridge
|
Loading…
Reference in New Issue
Block a user