You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
688 B
28 lines
688 B
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
|
|
|