-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 970 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 970 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
40
41
42
43
44
services:
db:
container_name: db
image: mongo:4.2
restart: always
volumes:
- ./initdb:/docker-entrypoint-initdb.d
- ./dbdata:/data/db
nginx:
image: nginx
restart: always
ports:
- "31337:31337"
volumes:
- ./static:/var/www/html
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./passwd:/etc/nginx/passwd
- /path/to/fullchain.pem:/etc/nginx/ssl/fullchain.pem
- /path/to/privkey.pem:/etc/nginx/ssl/privkey.pem
- /path/to/cert.pem:/etc/nginx/ssl/cert.pem
agent:
build: ./collab-agent
restart: always
env_file:
- .env
ports:
- "80:80"
- "443:443"
- "53:53/udp"
- "53:53/tcp"
- "25:25"
- "587:587"
volumes:
- /path/to/fullchain.pem:/root/fullchain.pem
- /path/to/privkey.pem:/root/privkey.pem
- /path/to/cert.pem:/root/cert.pem
admin:
build: ./admin
restart: always
env_file:
- .env