-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (39 loc) · 948 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
# spring-boot-docker/docker-compose.yml
version: '3.1'
services:
mysql_pulse:
image: mysql:5.7
command:
--default-time-zone=-03:00
restart: always
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: 1234
MYSQL_USER : pulse
MYSQL_PASSWORD : 1234
MYSQL_DATABASE: pulsedb
networks:
- pulse-net
api_pulse:
build: ./provarh
restart: always
ports:
- 8086:8086
networks:
- pulse-net
depends_on:
- mysql_pulse
front-pulse:
build: ./front/front-provarh
restart: always
ports:
- 3000:3000
networks:
- pulse-net
depends_on:
- mysql_pulse
- api_pulse
networks:
pulse-net:
driver: bridge