Skip to content

Commit 808c026

Browse files
committed
docker
1 parent 67c2f67 commit 808c026

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ docker run --name book-web\
4848
-e PGID=1000 \
4949
-e TZ=Asia/Shanghai \
5050
-v Your_Git_Config:/config/.gitconfig:ro \
51+
-v Your_SSH_KEY_Dir:/config/.ssh \
5152
-v Your_Project_Dir:/data \
5253
-p 9000:80 \
5354
-d king011/book-web:v1.1.0
@@ -67,8 +68,9 @@ services:
6768
- PUID=1000
6869
- PGID=1000
6970
- TZ=Asia/Shanghai
70-
volumes:
71+
volumes:
7172
- Your_Git_Config:/config/.gitconfig:ro
73+
- Your_SSH_KEY_Dir:/config/.ssh
7274
- Your_Project_Dir:/data
7375
```
7476

0 commit comments

Comments
 (0)