-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (48 loc) · 1.27 KB
/
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
44
45
46
47
48
49
50
51
52
version: '3'
services:
rree-ui:
container_name: rree-ui
image: sease/rre-enterprise-ui
stdin_open: true
environment:
RREE_URL: http://rree-server:8080
ports:
- 3001:3000
rree-server:
container_name: rree-server
image: sease/rre-enterprise
restart: always
environment:
- SOLR_URL=http://solr:8983/solr
- DB_URL=jdbc:mysql://db:3306/rre
- DB_USERNAME=root
- DB_PASSWORD=toor
ports:
- 8081:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- db
solr:
container_name: rree_solr
build:
context: ./solr
ports:
- 8984:8983
volumes:
- solr-data:/var/solr
db:
container_name: rree_mysql
restart: always
image: mysql/mysql-server:latest
command: --default-authentication-plugin=mysql_native_password --mysqlx=0
environment:
MYSQL_ROOT_PASSWORD: 'toor'
volumes:
- db-data:/var/lib/mysql
- ./scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "3307:3306"
volumes:
solr-data:
db-data: