forked from EmissarySocial/emissary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (43 loc) · 874 Bytes
/
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
version: '3.8'
services:
emissary:
build:
context: .
dockerfile: ./docker/Dockerfile
ports:
- "8080:8080"
environment:
- EMISSARY_CONFIG=file:///data/config/config.json
- WAIT_FOR_CONFIG=1
depends_on:
- mongodb
- smtp
volumes:
- configdata:/data/config
setup:
build:
context: .
dockerfile: ./docker/Dockerfile
ports:
- "8888:8888"
environment:
- EMISSARY_CONFIG=file:///data/config/config.json
command: ["--setup", "--port", "8888"]
depends_on:
- mongodb
- smtp
volumes:
- configdata:/data/config
mongodb:
image: "mongo:latest"
ports:
- "27017:27017"
volumes:
- mongodata:/data/db
smtp:
image: ghcr.io/literalgarage/smtp-logger:latest
ports:
- "8025:8025"
volumes:
mongodata:
configdata: