-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
48 lines (46 loc) · 1.02 KB
/
docker-compose.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
version: '2'
# Spamd won't work well with docker port forwards (no response content)
# We use a separate network so we can access it directly
networks:
default:
ipam:
config:
- subnet: 250.0.0.0/24
gateway: 250.0.0.254
services:
postgres:
image: postgres:9.4
environment:
POSTGRES_DB: munch
POSTGRES_USER: munch
POSTGRES_PASSWORD: munch
ports:
- 127.0.0.1:15432:5432
redis:
image: redis:3
ports:
- 127.0.0.1:16379:6379
rabbitmq:
image: rabbitmq:3.6-management
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
RABBITMQ_DEFAULT_VHOST: munch
ports:
- 127.0.0.1:5682:5672
- 127.0.0.1:15672:15672
smtpd:
build: .docker/smtpd
ports:
- 127.0.0.1:2525:25
spamd:
build: .docker/spamd
networks:
default:
ipv4_address: 250.0.0.250
clamd:
build: .docker/clamd
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- 127.0.0.1:13310:3310