-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (36 loc) · 826 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (36 loc) · 826 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
43
44
version: '3'
services:
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: prototype1
MYSQL_DATABASE: SpeMajor
volumes:
- mysql-volume:/var/lib/mysql
ports:
- 3307:3306
networks:
- backend-net
backend:
image: kayrohit/whatamess-backend:test2
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/SpeMajor?useSSL=false
SPRING_DATASOURCE_USERNAME: root
SPRING_DATASOURCE_PASSWORD: prototype1
ports:
- 5000:5000
networks:
- backend-net
depends_on:
- mysql
frontend:
image: vishalrao7/whatamess_frontend
network_mode: host
environment:
HOST_IP: ${DOCKER_HOST_IP}
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
mysql-volume:
networks:
backend-net: