-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (42 loc) · 1.14 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
version: '2.0'
services:
sspanel:
image: "baiyuetribe/sspanel:master"
restart: always
container_name: sspanel
networks:
- frontend
- backend
ports:
- 666:80
volumes:
- /var/services/homes/wzy/sspanel/code:/sspanel
mysql:
image: "mysql:5.6"
restart: always
environment:
TZ: 'Asia/Shanghai'
MYSQL_DATABASE: sspanel
MYSQL_ROOT_PASSWORD: sspanel
volumes:
- /var/services/homes/wzy/sspanel/code:/var/lib/mysql
-/var/services/homes/wzy/sspanel/code/sql/glzjin_all.sql:/docker-entrypoint-initdb.d/sspanel.sql
command: ['mysqld', '--character-set-server=utf8']
networks:
- backend
depends_on:
- kodexplorer
kodexplorer:
image: baiyuetribe/kodexplorer
restart: always
ports:
- 999:80
volumes:
- /var/services/homes/wzy/sspanel:/code
networks:
- backend
depends_on:
- sspanel
networks:
frontend:
backend: