-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathdocker-compose.yml
53 lines (48 loc) · 1.1 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
version: "3.8"
services:
mysql:
image: mysql:8
container_name: mysql_db_docker
environment:
MYSQL_ROOT_PASSWORD: root1234
MYSQL_DATABASE: scm20
ports:
- "3307:3306"
volumes:
- ./mysql_data:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_USER: root
PMA_PASSWORD: root1234
ports:
- "8081:80"
depends_on:
- mysql
springboot:
build: .
container_name: scm_springboot_project
environment:
SERVER_PORT: 8080
MYSQL_HOST: mysql
MYSQL_PORT: 3306
MYSQL_DB: scm20
MYSQL_USER: root
MYSQL_PASSWORD: root1234
EMAIL_HOST: smtp.gmail.com
EMAIL_PORT: 587
EMAIL_USERNAME: [email protected]
EMAIL_PASSWORD: dqwxmxfvukvwhnkh
EMAIL_DOMAIN: [email protected]
CLOUDINARY_API_KEY: 575233445171369
CLOUDINARY_API_SECRET: WF88TQpJyKATyZCv4o4M0dx3xEQ
CLOUDINARY_NAME: derpgrwbe
ports:
- "8082:8080"
depends_on:
- mysql
volumes:
mysql_data: