wanggang
2 years ago
commit
ec8ad64872
6 changed files with 44 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
ZENTAO_VERSION=18.0 |
|||
ZENTAO_PORT=4000 |
|||
MYSQL_VERSION=8.0.31 |
|||
MYSQL_ROOT_PASSWORD=aA123456! |
|||
|
|||
|
@ -0,0 +1,2 @@ |
|||
data/ |
|||
log/ |
@ -0,0 +1,6 @@ |
|||
# 开发外围服务器配置 |
|||
|
|||
使用 Docker Compose 进行管理 |
|||
|
|||
1. MySQL |
|||
1. 禅道 |
@ -0,0 +1,28 @@ |
|||
version: "3.8" |
|||
|
|||
services: |
|||
mysql: |
|||
container_name: mysql |
|||
restart: always |
|||
image: mysql:${MYSQL_VERSION} |
|||
environment: |
|||
- TZ=Asia/Shanghai |
|||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} |
|||
volumes: |
|||
- /etc/localtime:/etc/localtime:ro |
|||
- ./data/mysql:/var/lib/mysql |
|||
command: --default-authentication-plugin=mysql_native_password |
|||
zentao: |
|||
container_name: zentao |
|||
restart: always |
|||
image: easysoft/zentao:${ZENTAO_VERSION} |
|||
privileged: true |
|||
environment: |
|||
- TZ=Asia/Shanghai |
|||
ports: |
|||
- ${ZENTAO_PORT}:80 |
|||
volumes: |
|||
- /etc/localtime:/etc/localtime:ro |
|||
- ./data/zentao:/www/zentaopms |
|||
depends_on: |
|||
- mysql |
@ -0,0 +1 @@ |
|||
docker-compose up -d --remove-orphans |
@ -0,0 +1 @@ |
|||
docker-compose down --remove-orphans |
Loading…
Reference in new issue