-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.app.yml
61 lines (61 loc) · 1.38 KB
/
docker-compose.app.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
version: '3'
services:
mas-frontend:
image: 'mas:latest'
build: .
ports:
- '80:3200'
- '443:3201'
volumes:
- ./development-data/mas:/data
restart: always
environment:
&app-environment
NODE_ENV: production
PROJECT_ROOT: /app/
FILES__UPLOAD_DIRECTORY: /data/mas/uploads/
FILES__CACHE_DIRECTORY: /data/mas/cache/
FILES__AUTOROTATE_JPEGS: 'true'
REDIS__HOST: localhost
ELASTICSEARCH__ENABLED: 'true'
ELASTICSEARCH__HOST: elasticsearch
command: yarn run start-frontend
mas-loopback:
image: 'mas:latest'
build: .
volumes:
- ./development-data/mas:/data
restart: always
environment:
<<: *app-environment
command: yarn run start-loopback
mas-irc:
image: 'mas:latest'
build: .
volumes:
- ./development-data/mas:/data
restart: always
environment:
<<: *app-environment
command: yarn run start-irc
mas-irc-scktmgr:
image: 'mas:latest'
build: .
volumes:
- ./development-data/mas:/data
restart: always
environment:
<<: *app-environment
command: yarn run start-irc-scktmgr
ports:
- '113:113'
mas-website:
image: 'mas:latest'
build: .
restart: always
environment:
<<: *app-environment
working_dir: /app/website
command: yarn run server
ports:
- '3100:3100'