Skip to content

Commit

Permalink
fix: docker logview display error
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsky1 authored and qmwu2000 committed Oct 28, 2023
1 parent 4684ba7 commit c667b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
+ DockerHub地址: https://hub.docker.com/r/meituaninc/cat
+ docker镜像打包
+ 进入项目根目录:docker build -f docker/Dockerfile cat:{tag} .
+ 进入项目根目录:docker build -f docker/Dockerfile -t cat:{tag} .
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- "./client.xml:/data/appdatas/cat/client.xml"
# 默认使用环境变量设置。可以启用本注解,并修改为自己的配置
# - "./datasources.xml:/data/appdatas/cat/datasources.xml"
command: /bin/sh -c './datasources.sh && catalina.sh run'
command: /bin/sh -c 'ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2 && ./datasources.sh && catalina.sh run'
links:
- mysql
depends_on:
Expand Down

0 comments on commit c667b7a

Please sign in to comment.