forked from MiroslavHoudek/postfix-filter-loop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (35 loc) · 805 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (35 loc) · 805 Bytes
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
version: '3.1'
services:
# db:
# build:./
# context: ./db
# dockerfile: Dockerfile
# ports:
# - "5432:5432"
django:
build:
context: ./web
dockerfile: Dockerfile
environment:
- DJANGO_SETTINGS_MODULE=backend.settings
# - DJANGO_SETTINGS_MODULE=backend.settings_docker
volumes:
- .:/app
- /var/postfix_monitoring:/var/postfix_monitoring # from,to
command: bash -c "python ./web/manage.py load_run"
ports:
- "8140:8000"
filter:
build:
context: ./filter
dockerfile: Dockerfile
volumes:
- .:/app
- /var/postfix_monitoring:/var/postfix_monitoring # from,to
command: python filter/after_filter.py
ports:
- "10020:10020"
depends_on:
- django
links:
- django