Commit 99f0d105 authored by tanyang's avatar tanyang

修改容器配置

parent 2f1eed6c
...@@ -3,24 +3,23 @@ services: ...@@ -3,24 +3,23 @@ services:
dsk-operate-sys: dsk-operate-sys:
image: swr.cn-north-4.myhuaweicloud.com/dsk/java:8u111-jdk-alpine-creditreport image: swr.cn-north-4.myhuaweicloud.com/dsk/java:8u111-jdk-alpine-creditreport
container_name: dsk-operate-sys container_name: cscec_bms
network_mode: host network_mode: host
restart: always restart: always
working_dir: /app working_dir: /app
environment: environment:
TZ: Asia/Shanghai TZ: Asia/Shanghai
volumes: volumes:
- ./dsk-operate-sys:/app - ./cscec_bms:/app
- /etc/localtime:/etc/localtime - /etc/localtime:/etc/localtime
command: "java -jar dsk-operate-sys.jar" command: "java -jar cscec_bms.jar"
nginx: nginx:
image: nginx:perl build:
context: .
dockerfile: Dockerfile
container_name: nginx container_name: nginx
restart: always restart: always
network_mode: host network_mode: host
working_dir: /app
environment:
TZ: Asia/Shanghai
volumes: volumes:
- /etc/localtime:/etc/localtime - /etc/localtime:/etc/localtime
- ./dsk-operate-ui/dist/:/www/szh/web/dist/ - ./dsk-operate-ui/dist/:/www/szh/web/dist/
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>dsk-operate-sys</finalName> <finalName>cscec-bms</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
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