-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml-postal-sample
53 lines (50 loc) · 1.61 KB
/
docker-compose.yml-postal-sample
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
version: "3.9"
services:
########################################################################################################################
### You can run as many web servers as you need/want, the cron and requeuer should only haver one container running. ###
########################################################################################################################
# web:
# image: ghcr.io/postalserver/postal:2.1.2
# command: postal web-server
# network_mode: host
# volumes:
# - ./config:/config
#
# cron:
# image: ghcr.io/postalserver/postal:2.1.2
# command: postal cron
# network_mode: host
# volumes:
# - ./config:/config
#
# requeuer:
# image: ghcr.io/postalserver/postal:2.1.2
# command: postal requeuer
# network_mode: host
# volumes:
# - ./config:/config
# runner:
# profiles: ["tools"]
# image: ghcr.io/postalserver/postal:2.1.2
# command: postal
# network_mode: host
# volumes:
# - ./config:/config
##################################################################################################
### These containers are used for the SMTP server, you can run as many of these as you'd like. ###
##################################################################################################
# smtp:
# image: ghcr.io/postalserver/postal:2.1.2
# command: postal smtp-server
# network_mode: host
# cap_add:
# - NET_BIND_SERVICE
# volumes:
# - ./config:/config
#
# worker:
# image: ghcr.io/postalserver/postal:2.1.2
# command: postal worker
# network_mode: host
# volumes:
# - ./config:/config