Skip to content

Commit

Permalink
for win
Browse files Browse the repository at this point in the history
  • Loading branch information
weilai5kso committed Mar 5, 2024
1 parent a473a3c commit f9bef38
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mongodb/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

version: '2'

name: dev

services:

mongo:
Expand All @@ -15,3 +17,16 @@ services:
- ~/Docker/mongo/db:/data/db
ports:
- 27017:27017

mongo_win:
build: .
container_name: mongo
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
- MONGODB_USER="root"
- MONGODB_PASS="123456"
volumes:
- D:/Docker/mongo/db:/data/db
ports:
- 27017:27017
8 changes: 8 additions & 0 deletions mysql/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version: '2'

name: dev

services:

mysql:
Expand All @@ -19,6 +21,12 @@ services:
dockerfile: Dockerfile_m1
platform: linux/arm64/v8

mysql_win:
extends:
service: mysql
volumes:
- D:/Docker/mysql/data:/var/lib/mysql

nas:
image: mysql:8.0
container_name: mysql
Expand Down
10 changes: 10 additions & 0 deletions redis/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

version: '2'

name: dev

services:

redis:
Expand All @@ -11,6 +13,14 @@ services:
ports:
- 6379:6379

redis_win:
build: .
container_name: redis
volumes:
- D:/Docker/redis/data:/data
ports:
- 6379:6379

nas:
image: redis:alpine
container_name: redis
Expand Down

0 comments on commit f9bef38

Please sign in to comment.