-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
59 lines (59 loc) · 1.31 KB
/
docker-compose.dev.yml
File metadata and controls
59 lines (59 loc) · 1.31 KB
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
54
55
56
57
58
59
version: '3'
services:
esdc_server_container:
build:
context: ./esdc_server
dockerfile: Dockerfile
image: esdc_server
container_name: esdc_server_container
ports:
- 8080:8080
volumes:
- ./esdc_server:/app
networks:
- esdc_server
links:
- esdc-mysql
depends_on:
- esdc-mysql
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://esdc-mysql:3306/ffms_refactor?characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
esdc-mysql:
build:
context: ./mysql
dockerfile: Dockerfile
container_name: esdc-mysql
image: esdc-mysql
ports:
- 3307:3306
restart: always
volumes:
- mysql_data:/var/lib/mysql
- ./mysql/:/docker-entrypoint-initdb.d/
networks:
- esdc_server
environment:
MYSQL_DATABASE: ffms_refactor
MYSQL_ROOT_PASSWORD: admin
MYSQL_PASSWORD: admin
esdc_client_container:
build:
context: ./esdc_client
dockerfile: Dockerfile
image: esdc_client
container_name: esdc_client_container
restart: always
ports:
- 3001:3000
volumes:
- ./esdc_client/src:/app/src
networks:
- esdc_server
depends_on:
- esdc_server_container
- esdc-mysql
volumes:
mysql_data:
mysql:
networks:
esdc_server: