mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-21 11:27:26 +08:00
1. 新增了 docker-compose 配置文件 docker-compose.yml
2.新增 docker-compose 配置项实例文件env-example 3. 新增了配置项设置,并调整了项目在容器中的目录
This commit is contained in:
21
env-example
Normal file
21
env-example
Normal file
@@ -0,0 +1,21 @@
|
||||
###########################################################
|
||||
# General Setup
|
||||
###########################################################
|
||||
|
||||
### Application Path ###################################################################################################
|
||||
# Point to your code, will be available at `/var/www/mindoc`.
|
||||
|
||||
APPLICATION=../mindoc_volume/
|
||||
|
||||
### GLOBAL ENVIRONMENT #################################################################################################
|
||||
|
||||
### 数据库配置 ,如果你的数据库不在容器内或没有用 --link过 那必须要写外部数据库ip
|
||||
MYSQL_PORT_3306_TCP_ADDR=192.168.4.25
|
||||
MYSQL_PORT_3306_TCP_PORT=3306
|
||||
MYSQL_INSTANCE_NAME=mindoc_db
|
||||
MYSQL_USERNAME=root
|
||||
MYSQL_PASSWORD=root
|
||||
# expose port
|
||||
HTTP_PORT=8181
|
||||
|
||||
|
Reference in New Issue
Block a user