-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathdocker-compose.yml
65 lines (63 loc) · 1.33 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: "3"
services:
ahem-ssr:
image: o4oren/ahem:latest
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
ports:
- "4000:4000"
command: ["node", "dist", "/", "universalServer"]
tty: true
networks:
- net1
depends_on:
- mongodb
environment:
- serverBaseUri=http://localhost:3000
- mongoConnectUrl=mongodb://mongodb:27017/
- appListenPort=3000
- smtpPort=2525
- allowAutocomplete=true
- allowedDomains=my.domain.com
- jwtSecret=AH3M 709 S3cR3T
ahem:
image: o4oren/ahem:latest
build:
context: .
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
ports:
- "3000:3000"
- "25:2525"
tty: true
networks:
- net1
depends_on:
- mongodb
environment:
- serverBaseUri=http://localhost:3000
- mongoConnectUrl=mongodb://mongodb:27017/
- appListenPort=3000
- smtpPort=2525
- allowAutocomplete=true
- allowedDomains=my.domain.com
- jwtSecret=AH3M 709 S3cR3T
mongodb:
container_name: mongodb
image: mongo
volumes:
- ./data:/data/db
ports:
- "27017:27017"
networks:
- net1
networks:
net1: