forked from lsfusion/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (51 loc) · 1.76 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
53
54
version: '3.8'
services:
db:
image: postgres:12.4
volumes:
- ./docker-db:/var/lib/postgresql/data # host/path:container/path
ports:
- 5432:5432
network_mode: host
environment:
POSTGRES_PASSWORD: 11111
server:
# jenkins use regex for replace image version in next line before build. Check jenkins branch on change
image: lsfusion/server:4.0-beta3-1
depends_on:
- db
volumes:
- ./docker-server:/lsfusion # host/path:container/path
ports:
- 7652:7652
network_mode: host
# use default credentials if dont define environment variables or modifying settings.properties in ./docker-server/conf
# available variables names: DB_SERVER, DB_PASSWORD, DB_USER, DB_NAME, JAVA_OPTS
# environment variables can be used separately
# priority: default -> settings.properties -> environment variables
# for example
# environment:
# DB_PASSWORD: 11111
# DB_SERVER: localhost
# DB_USER: postgres
# DB_NAME: lsfusion
# JAVA_OPTS: -Xmx4000m
client:
# jenkins use regex for replace image version in next line before build. Check jenkins branch on change
image: lsfusion/client:4.0-beta3-1
depends_on:
- server
volumes:
- ./docker-client-conf:/usr/local/tomcat/conf/Catalina # host/path:container/path
ports:
- 8080:8080
network_mode: host
# use default credentials if dont define environment variables or modifying ROOT.xml in ./docker-client/Catalina/localhost.
# available variables names: SERVER_HOST, SERVER_PORT, JAVA_OPTS
# if use environment variables - use SERVER_HOST and SERVER_PORT both
# priority: default -> ROOT.xml -> environment variables
# for example
# environment:
# SERVER_HOST: localhost
# SERVER_PORT: 7652
# JAVA_OPTS: -Xmx4000m