-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (48 loc) · 1.34 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.3"
volumes:
openmaint-db:
openmaint-tomcat:
#bimserver-home:
services:
openmaint_db:
image: asti/postgis
container_name: openmaint_db
volumes:
- openmaint-db:/var/lib/postgresql
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASS=postgresadmin
restart: always
# mem_limit: 1000m
# mem_reservation: 300m
openmaint_app:
image: asti/openmaint
container_name: openmaint_app
links:
- openmaint_db
depends_on:
- openmaint_db
ports:
- 8090:8080
restart: always
volumes:
- openmaint-tomcat:/usr/local/tomcat
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASS=postgresadmin
- POSTGRES_PORT=5432
- POSTGRES_HOST=openmaint_db
- POSTGRES_DB=openmaint
- CMDBUILD_DUMP=demo.dump.xz
- JAVA_OPTS=-Xmx4000m -Xms2000m
# mem_limit: 4000m
# mem_reservation: 2000m
bimserver:
image: asti/bimserver:1.5.138
container_name: bimserver
ports:
- 8080:8080
#volumes:
# - bimserver-home:/home/bimserver_home