forked from mixcore/mix.core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (46 loc) · 1.05 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
version: "3"
services:
mixcore:
# image: "mixcore/mix.core:develop"
build: .
ports:
- "5000:80"
- "5001:443"
depends_on:
- sqlserver
- mysql
sqlserver:
image: "mcr.microsoft.com/mssql/server"
environment:
SA_PASSWORD: "P@ssw0rd"
ACCEPT_EULA: "Y"
ports:
- "1433:1433"
restart: always
# redis:
# image: redis
mysql:
image: mysql:8.0
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: P@ssw0rd
MYSQL_DATABASE: mixcore
MYSQL_USER: mixcore
MYSQL_PASSWORD: P@ssw0rd
ports:
- 3306:3306
# phpmyadmin
phpmyadmin:
depends_on:
- mysql
image: phpmyadmin/phpmyadmin
restart: always
ports:
- '8080:80'
environment:
PMA_HOST: mysql
MYSQL_ROOT_PASSWORD: P@ssw0rd
volumes:
db_data: {}