add mysql to nginx network group

This commit is contained in:
2022-06-23 09:45:58 +08:00
parent b2659d4bd8
commit 367dafdb63

View File

@@ -12,3 +12,11 @@ services:
ports: ports:
- 3090:3306 - 3090:3306
image: mysql:5.7 image: mysql:5.7
networks:
nginx:
aliases:
- mysql
networks:
nginx:
external: true