-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
84 lines (81 loc) · 2.31 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '2'
services:
# mysql service for qucheng
mysql:
image: mysql:5.7
container_name: mysql
ports:
- '3306:3306'
volumes:
- 'db:/var/lib/mysql'
environment:
- MYSQL_ROOT_PASSWORD=pass4Qucheng
- MYSQL_DATABASE=qucheng
qucheng:
image: hub.qucheng.com/platform/qucheng:${TAG}
container_name: qucheng
ports:
- '4080:80'
volumes:
- 'qucheng_data:/data'
depends_on:
- mysql
environment:
- MYSQL_HOST=mysql
- MYSQL_PORT=3306
- MYSQL_USER=root
- MYSQL_PASSWORD=pass4Qucheng
- MYSQL_DB=qucheng
- CNE_API_TOKEN=gwaN4KynqNqQoPD7eN8s
- CNE_API_HOST=http://cne.internal-pre.chandao.net
- CLOUD_API_HOST=http://cne-market.internal-pre.chandao.net
- CLOUD_DEFAULT_CHANNEL=test
- DEBUG=1
- ENABLE_BACKEND=true
- CNE_MARKET_API_SCHEMA=http
- CNE_MARKET_API_HOST=cne-market.internal-pre.chandao.net
- CNE_MARKET_API_PORT=80
- ENABLE_CRON=true
qucheng-dev:
image: hub.qucheng.com/platform/qucheng:${TAG}
container_name: qucheng-dev
ports:
- '4081:80'
volumes:
- ../qucheng-dev:/apps/qucheng
- ./docker/rootfs/apps/qucheng/config/my.php:/apps/qucheng/config/my.php
- /root/.kube/config.dev:/root/.kube/config
- /root/.config/helm/repositories.yaml.dev:/root/.config/helm/repositories.yaml
depends_on:
- mysql
environment:
- RUN_MODE="dev"
- DEBUG=true
- PHP_DEBUG=2
- PAUSE=0
- MYSQL_HOST=mysql
- MYSQL_PORT=3306
- MYSQL_USER=root
- MYSQL_PASSWORD=pass4Qucheng
- MYSQL_DB=qucheng
- CNE_API_TOKEN=gwaN4KynqNqQoPD7eN8s
- CNE_API_HOST=http://127.0.0.1:8087
- CLOUD_API_HOST=https://api.qucheng.com
- CLOUD_DEFAULT_CHANNEL=test
- APP_DOMAIN=${app_domain}
- CLOUD_SWITCH_CHANNEL=true
- CNE_MARKET_API_SCHEMA=https
- CNE_MARKET_API_HOST=api.qucheng.com
- CNE_MARKET_API_PORT=443
- LOG_FILE=/logs/backend.log
- ALLOW_SELECT_VERSION=true
- ENABLE_CRON=true
- DEMO_ACCOUNTS=,demo,
- CONTENT_SECURITY_SCRIPT=script-src 'self' 'unsafe-inline' 'unsafe-eval' demo.haogs.cn qucheng.com
- CONTENT_SECURITY_STYLE=
- CONTENT_SECURITY_IMG=
volumes:
db:
driver: local
qucheng_data:
driver: local