-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcompose.yaml
51 lines (48 loc) · 1.05 KB
/
compose.yaml
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
services:
server:
image: registry.greendelta.com/hub/collaboration-server:latest
container_name: lcacollab
depends_on:
db:
condition: service_healthy
ports:
- 8080:8080
environment:
- MYSQL_URL
- MYSQL_PORT
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
volumes:
- server:/opt/collab
db:
image: mysql:8.1
container_name: lcacollab-db
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
timeout: 20s
retries: 10
volumes:
- db:/var/lib/mysql
search:
image: opensearchproject/opensearch:2.17.1
container_name: lcacollab-search
environment:
- discovery.type=single-node
- plugins.security.disabled=true
- OPENSEARCH_INITIAL_ADMIN_PASSWORD
ports:
- 9200:9200
- 9600:9600
volumes:
db:
name: lcacollab-db
server:
name: lcacollab-server