Peter Oertel 1 жил өмнө
parent
commit
c297192f12
1 өөрчлөгдсөн 8 нэмэгдсэн , 0 устгасан
  1. 8 0
      docker-compose.yml

+ 8 - 0
docker-compose.yml

@@ -6,3 +6,11 @@ services:
       - db
     ports:
       - "8000:8000"
+  db:
+    image: mysql:5.7
+    ports:
+      - "32000:3306"
+    environment:
+      MYSQL_ROOT_PASSWORD: root
+    volumes:
+      - ./db:/docker-entrypoint-initdb.d/:ro