-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 893 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 893 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
45
46
version: '2.1'
services:
nginx:
image: nginx:latest
container_name: nginx
mem_limit: 512M
ports:
- 80:80
- 443:443
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/certs:/etc/nginx/certs
- ./nginx/snippets:/etc/nginx/snippets
links:
- sudobot_webhooks
depends_on:
- sudobot_webhooks
sudobot_webhooks:
build: ./webhooks
container_name: sudobot_webhooks
mem_limit: 512M
ports:
- 8080:8080
volumes:
- ./webhooks:/var/www/sudobot
sudobot_service:
build: ./service
container_name: sudobot_service
depends_on:
- redis
mem_limit: 512M
links:
- redis
volumes:
- ./service:/usr/bin/sudobot
redis:
image: redis
container_name: redis
restart: unless-stopped
ports:
- 6379