天问
1 year ago
1 changed files with
23 additions and
1 deletions
-
23
1
README.md
|
@@ -1,3 +1,25 @@
|
|
# compose
|
|
# compose
|
|
|
|
|
|
-docker compose 命令工具
|
|
|
|
|
|
+docker compose 命令工具
|
|
|
|
+
|
|
|
|
+## Develop
|
|
|
|
+
|
|
|
|
+首先要有docker环境,
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+make all
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+## example
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+services:
|
|
|
|
+ web:
|
|
|
|
+ build: .
|
|
|
|
+ ports:
|
|
|
|
+ - "5000:5000"
|
|
|
|
+ volumes:
|
|
|
|
+ - .:/code
|
|
|
|
+ redis:
|
|
|
|
+ image: redis
|
|
|
|
+```
|