Repository navigation
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
146 lines (145 loc) · 3.21 KB
/
Copy pathdocker-compose.override.yml
File metadata and controls
146 lines (145 loc) · 3.21 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
services:
database:
image: edcom/database-dev
platform: linux/arm64/v8
build:
context: .
dockerfile: services/database.Dockerfile
ports:
- "127.0.0.1:5432:5432"
profiles:
- lite
- full
cache:
platform: linux/arm64/v8
profiles:
- lite
- full
api:
image: edcom/api-dev
platform: linux/arm64/v8
build:
context: .
dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
profiles:
- lite
- full
environment:
- development=true
#ports:
# - "127.0.0.1:5678:5678"
tasks:
image: edcom/api-dev
platform: linux/arm64/v8
build:
context: .
dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
command: sh -c '/scripts/run_db_migrations.py && watchmedo auto-restart -d /api -p *.py --recursive -- celery -A api.app.tasks worker --loglevel=INFO --concurrency `/scripts/num_tasks.py celery` -f /logs/app.log'
profiles:
- lite
- full
environment:
- development=true
- celery_worker=true
#ports:
# - "127.0.0.1:5678:5678"
cron:
image: edcom/api-dev
platform: linux/arm64/v8
build:
context: .
dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
profiles:
- lite
- full
webhooks:
image: edcom/api-dev
platform: linux/arm64/v8
build:
context: .
dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
profiles:
- full
segments:
image: edcom/api-dev
platform: linux/arm64/v8
build:
context: .
dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
profiles:
- full
smtprelay:
image: edcom/smtprelay-dev
platform: linux/arm64/v8
build:
context: smtprelay
profiles:
- full
- lite
screenshot:
image: edcom/screenshot-dev
platform: linux/arm64/v8
build:
context: screenshot
profiles:
- full
proxy:
image: edcom/proxy-dev
platform: linux/arm64/v8
build:
context: .
dockerfile: services/proxy-dev.Dockerfile
volumes:
- "./client/public/fonts:/usr/share/nginx/html/fonts"
profiles:
- lite
- full
client:
image: edcom/client
platform: linux/arm64/v8
container_name: edcom-client
build:
context: .
dockerfile: services/client.Dockerfile
volumes:
- "./client/src:/client/src"
- "./client/public:/client/public"
- "./client/scripts:/client/scripts"
- "./data/buckets/images:/client/public/i"
- "./data/buckets/transfer:/client/public/transfer"
- "./client/package.json:/client/package.json"
ports:
- "3000:3000"
profiles:
- lite
- full
velocity:
image: edcom/velocity-dev
platform: linux/arm64/v8
ports:
- "25:25"
- "81:81"
- "8080:80"
build:
context: velocity
volumes:
- "./data/velocity/conf:/conf"
- "./data/velocity/logs:/logs"
- "./data/velocity/mail:/mail"
profiles:
- velocity