-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (35 loc) · 762 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (35 loc) · 762 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: '2.1'
services:
testsql:
image: saishree31/login:1.0
restart: always
mem_limit: 2g
environment:
- JAVA_OPTS= "-XX:+UnlockExperimentalVMOptions
-XX:+UseCGroupMemoryLimitForHeap"
network_mode: "host"
hostname: localhost
ports:
- 8070:8070
container_name: login
depends_on:
mysql:
condition: service_healthy
healthcheck:
test: "exit 0"
mysql:
image: mysql:5.7
ports:
- 3306:3306
container_name: mysql
mem_limit: 2g
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=juggler_db
- MYSQL_PASSWORD=root
- MYSQL_USER=root
network_mode: "host"
hostname: localhost
restart: always
healthcheck:
test: "exit 0"