-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
118 lines (110 loc) · 2.66 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
version: '2'
services:
ngx:
image: nginx
restart: always
ports:
- "8786:443"
depends_on:
- bpm
- axelor
links:
- bpm
- axelor
environment:
- VER=6.0
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf
- ./ssl:/etc/nginx/ssl
- ./pwa:/home/pwa
bpm:
build: ./bpm
image: shawoo/bpm:pouchdb
restart: always
#ports:
# - "3303:3303"
command: /bin/bash ./start.sh
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./bpm/bpm.js:/opt/bpm/bpm.js
- ./bpm/OAuthApi.js:/opt/bpm/OAuthApi.js
- ./bpm/oauth2/:/opt/bpm/oauth2/
- ./bpm/start.sh:/opt/bpm/start.sh
- ./share:/opt/bpm/public/share
environment:
- VER=202104151
- TZ=Asia/Shanghai
- LD_LIBRARY_PATH=/usr/local/sap/nwrfcsdk/lib
depends_on:
- redisdb
links:
- redisdb
- axelor
redisdb:
image: redis
restart: always
#ports:
# - "6379:6379"
volumes:
- ./redis.conf:/etc/redis/redis.conf
command: redis-server /etc/redis/redis.conf
axelor:
image: shawoo/axelor:5.4.6-6.1.3
restart: always
environment:
- VER=1.0
depends_on:
- postgresdb
links:
- postgresdb
#ports:
# - "8786:8080"
command: start #/bin/bash
volumes:
- ./webapps:/usr/local/tomcat/webapps
- ./ROOT-5.4.6-6.1.2.war:/usr/local/tomcat/webapps/ROOT.war
- ./abc:/usr/local/tomcat/abc
- ./entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- ./data:/app/data
- ./modules/phx-mro:/app/axelor-erp/modules/axelor-open-suite/phx-mro
working_dir: /app/axelor-erp/modules/axelor-open-suite/phx-mro
#working_dir: /usr/local/tomcat/webapps/ROOT
environment:
modules: phx-mor-0.0.6
stdin_open: true
tty: true
privileged: true
postgresdb:
image: postgres:10
volumes:
- "./postgresql/data:/var/lib/postgresql/data"
restart: always
ports:
- "5555:5432"
environment:
POSTGRES_DB: axelor
POSTGRES_USER: axelor
POSTGRES_PASSWORD: axelor
pgadmin:
image: dpage/pgadmin4
restart: always
links:
- postgresdb
ports:
- "5433:80"
environment:
- PGADMIN_DEFAULT_PASSWORD=100861
#mysqldb:
# image: shawoo/mysql:5.7.15
# restart: always
# ports:
# - "3333:3306"
# environment:
# MYSQL_ROOT_PASSWORD: axelor
# volumes:
# - /etc/localtime:/etc/localtime:ro
# - /etc/timezone:/etc/timezone:ro
# - ./mysql/data:/var/lib/mysql/
# - ./mysql/config:/etc/mysql/conf.d/