-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (44 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
45 lines (44 loc) · 1.15 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
version: "3.8"
services:
target:
build: .
container_name: test-server
restart: always
ports:
- "8080:8080"
depends_on:
- database
database:
image: mariadb:10.5
container_name: mariadb
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: ngrinder_test
MYSQL_USER: user
MYSQL_PASSWORD: password
TZ: Asia/Seoul
command: [ "mysqld", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_general_ci", "--lower_case_table_names=1" ]
controller:
image: ngrinder/controller:3.5.8
container_name: ngrinder-controller
ports:
- "80:80"
- "16001:16001"
- "12000-12009:12000-12009"
volumes:
- ./ngrinder/controller:/opt/ngrinder-controller
agent-1:
image: ngrinder/agent:3.5.8
container_name: ngrinder-agent-1
volumes:
- ./ngrinder/agent-1:/opt/ngrinder-agent
command: [ "ngrinder-controller:80" ]
agent-2:
image: ngrinder/agent:3.5.8
container_name: ngrinder-agent-2
volumes:
- ./ngrinder/agent-2:/opt/ngrinder-agent
command: [ "ngrinder-controller:80" ]