-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdocker-compose-nodejs.yml
More file actions
129 lines (129 loc) · 3.06 KB
/
docker-compose-nodejs.yml
File metadata and controls
129 lines (129 loc) · 3.06 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
services:
web:
image: nginx:latest
ulimits:
nofile:
soft: 65535
hard: 65535
env_file: .env
ports:
- "${LHC_PUBLIC_PORT}:80"
volumes:
- ./livehelperchat/lhc_web:/code
- ./conf/nginx/site-nodejs.conf:/etc/nginx/conf.d/default.conf
- ./conf/nginx/mime.types:/etc/nginx/mime.types
- ./conf/nginx/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- db
- php
- php-cronjob
networks:
- code-network
restart: always
php:
build: ./Dockerfiles/php
image: remdex/livehelperchat-php:latest
ulimits:
nofile:
soft: 65535
hard: 65535
env_file: .env
volumes:
- ./livehelperchat/lhc_web:/code
- ./lhc-php-resque/lhcphpresque:/code/extension/lhcphpresque
- ./NodeJS-Helper/nodejshelper:/code/extension/nodejshelper
- ./conf/scripts:/scripts
- ./conf/php-fpm/zz-lhc.conf:/usr/local/etc/php-fpm.d/zz-lhc.conf
networks:
- code-network
restart: always
cobrowse:
build: ./Dockerfiles/cobrowse
image: remdex/livehelperchat-cobrowse:latest
ulimits:
nofile:
soft: 65535
hard: 65535
ports:
- 127.0.0.1:31130:31130
networks:
- code-network
restart: always
php-cronjob:
build: ./Dockerfiles/cronjob
image: remdex/livehelperchat-php-cronjob:latest
ulimits:
nofile:
soft: 65535
hard: 65535
env_file: .env
volumes:
- ./livehelperchat/lhc_web:/code
- ./lhc-php-resque/lhcphpresque:/code/extension/lhcphpresque
- ./NodeJS-Helper/nodejshelper:/code/extension/nodejshelper
- ./conf/scripts:/scripts
- ./conf/php/cronjob.ini:/usr/local/etc/php/conf.d/zz-lhc.ini
networks:
- code-network
restart: always
php-resque:
build: ./Dockerfiles/php-resque
image: remdex/livehelperchat-php-resque:latest
ulimits:
nofile:
soft: 65535
hard: 65535
env_file: .env
volumes:
- ./livehelperchat/lhc_web:/code
- ./lhc-php-resque/lhcphpresque:/code/extension/lhcphpresque
- ./NodeJS-Helper/nodejshelper:/code/extension/nodejshelper
- ./conf/scripts:/scripts
- ./conf/php/resque.ini:/usr/local/etc/php/conf.d/zz-lhc.ini
networks:
- code-network
depends_on:
- db
- redis
restart: always
nodejshelper:
build: ./Dockerfiles/nodejshelper
image: remdex/livehelperchat-nodejshelper:latest
ulimits:
nofile:
soft: 65535
hard: 65535
env_file: .env
depends_on:
- redis
networks:
- code-network
restart: always
redis:
image: "redis:alpine"
ulimits:
nofile:
soft: 65535
hard: 65535
networks:
- code-network
restart: always
db:
image: mariadb
ulimits:
nofile:
soft: 65535
hard: 65535
env_file: .env
environment:
TZ: UTC
volumes:
- ./dbdata:/var/lib/mysql
ports:
- 127.0.0.1:3307:3306
networks:
- code-network
restart: always
networks:
code-network:
driver: bridge