mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-06-08 09:52:11 +08:00
Change offline read way Who use Windows
This commit is contained in:
parent
85d8a2d021
commit
c55e82300c
6
.travis/conf.d/default.conf
Normal file
6
.travis/conf.d/default.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
server {
|
||||||
|
server_name localhost;
|
||||||
|
listen 4000;
|
||||||
|
root /srv/www/;
|
||||||
|
index index.html;
|
||||||
|
}
|
@ -9,3 +9,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./:/srv/gitbook-src
|
- ./:/srv/gitbook-src
|
||||||
command: server
|
command: server
|
||||||
|
|
||||||
|
windows:
|
||||||
|
image: nginx:alpine
|
||||||
|
volume:
|
||||||
|
- ./:/srv/www
|
||||||
|
- .travis/conf.d/default.conf:/etc/nginx/conf.d/default.conf
|
||||||
|
ports:
|
||||||
|
- 4000:4000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user