Repository navigation
Expand file tree
/
Copy pathdocker-compose.override.amd64.yml
More file actions
171 lines (157 loc) · 3.47 KB
/
Copy pathdocker-compose.override.amd64.yml
File metadata and controls
171 lines (157 loc) · 3.47 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
services:
init-permissions:
image: alpine
user: root
command: chown -R 70:70 /logs/postgres
volumes:
- "./data/logs/postgres:/logs/postgres"
profiles:
- full
- lite
database:
image: edcom/database-dev
platform: linux/amd64
build:
context: .
dockerfile: services/database.Dockerfile
ports:
- "127.0.0.1:5432:5432"
profiles:
- lite
- full
depends_on:
init-permissions:
condition: service_completed_successfully
cache:
platform: linux/amd64
profiles:
- lite
- full
api:
image: edcom/api-dev
platform: linux/amd64
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/amd64
# 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/amd64
# build:
# context: .
# dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
profiles:
- lite
- full
webhooks:
image: edcom/api-dev
platform: linux/amd64
# build:
# context: .
# dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
profiles:
- full
segments:
image: edcom/api-dev
platform: linux/amd64
# build:
# context: .
# dockerfile: services/api.Dockerfile
volumes:
- "./api:/api"
- "./scripts:/scripts"
profiles:
- full
smtprelay:
image: edcom/smtprelay-dev
platform: linux/amd64
build:
context: smtprelay
profiles:
- full
- lite
screenshot:
image: edcom/screenshot-dev
platform: linux/amd64
build:
context: screenshot
profiles:
- full
proxy:
image: edcom/proxy-dev
platform: linux/amd64
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/amd64
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/amd64
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