Commit 72bbdd9b authored by tanyang's avatar tanyang

更改docker-compose 文件

parent 74266f2d
...@@ -7,8 +7,11 @@ services: ...@@ -7,8 +7,11 @@ services:
network_mode: host network_mode: host
restart: always restart: always
working_dir: /app working_dir: /app
environment:
TZ: Asia/Shanghai
volumes: volumes:
- ./dsk-operate-sys:/app - ./dsk-operate-sys:/app
- /etc/localtime:/etc/localtime
command: "java -jar dsk-operate-sys.jar" command: "java -jar dsk-operate-sys.jar"
nginx: nginx:
image: nginx:perl image: nginx:perl
...@@ -16,7 +19,10 @@ services: ...@@ -16,7 +19,10 @@ services:
restart: always restart: always
network_mode: host network_mode: host
working_dir: /app working_dir: /app
environment:
TZ: Asia/Shanghai
volumes: volumes:
- /etc/localtime:/etc/localtime
- ./dsk-operate-ui/dist/:/www/szh/web/dist/ - ./dsk-operate-ui/dist/:/www/szh/web/dist/
- ./dsk-operate-ui/operate.conf:/etc/nginx/conf.d/operate.conf - ./dsk-operate-ui/operate.conf:/etc/nginx/conf.d/operate.conf
- ./dsk-operate-ui/log:/var/log/nginx - ./dsk-operate-ui/log:/var/log/nginx
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment