forked from orvice/ss-panel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (38 loc) · 892 Bytes
/
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
version: '2'
services:
redis:
restart: always
image: redis:latest
container_name: sspanel_redis
command:
- --loglevel warning
volumes:
- ./redis_data:/var/lib/redis:Z
mysql:
image: mysql
container_name: sspanel_mysql
environment:
- MYSQL_ROOT_PASSWORD=sspanel
- MYSQL_DATABASE=sspanel
volumes:
- ./mysql_data:/var/lib/mysql:Z
ss-panel:
image: orvice/ss-panel:master
ports:
- 8080:80
container_name: ss-panel
depends_on:
- mysql
- redis
environment:
- MIGRATION=true
- ADMIN_EMAIL=
- ADMIN_PASS=
- APP_LANG=en
- AUTH_SALT=
- AUTH_PASSWORD_ENCRYPTION_TYPE=bcrypt
- DB_HOST=mysql
- DB_DATABASE=sspanel
- DB_USERNAME=root
- DB_PASSWORD=sspanel
- REDIS_HOST=redis