-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (40 loc) · 892 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
42 lines (40 loc) · 892 Bytes
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: '3'
services:
nginx:
container_name: openCredit-nginx
image: nginx:1.13
restart: always
ports:
- 28081:80
# - 443:443
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
# depends_on:
# - app
mysql:
container_name: opencredit-mysql
image: mysql/mysql-server:5.7
environment:
- MYSQL_ROOT_PASSWORD=root123
- MYSQL_DATABASE=spring_app_db
- MYSQL_USER=app_user
- MYSQL_PASSWORD=test123
# expose:
# - "3306"
ports:
- 23306:3306
restart: always
# app:
# container_name: opencredit-app
# restart: always
# build: ./spring-boot-starter
# volumes:
# - ./spring-boot-starter:/app
# command:
# ["java", "-cp", "conf/:apps/*:lib/*", "-jar", "/app/dist/apps/openCredit.jar"]
# # expose:
# # - "8080"
# ports:
# - 8080:8080
# depends_on:
# - mysql