mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 14:38:54 +00: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:
|
||||
- ./:/srv/gitbook-src
|
||||
command: server
|
||||
|
||||
windows:
|
||||
image: nginx:alpine
|
||||
volume:
|
||||
- ./:/srv/www
|
||||
- .travis/conf.d/default.conf:/etc/nginx/conf.d/default.conf
|
||||
ports:
|
||||
- 4000:4000
|
||||
|
Loading…
Reference in New Issue
Block a user