forked from ashafer01/T9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
46 lines (46 loc) · 949 Bytes
/
docker-compose.yaml
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.4'
volumes:
t9-home:
name: t9-home
driver: local
driver_opts:
type: none
o: bind
device: /media/t9-home-mnt
t9-irc-bot-config:
name: t9-irc-bot-config
t9-exec-server-config:
name: t9-exec-server-config
services:
t9-exec-server:
container_name: t9-exec-server
hostname: t9-exec-server
image: t9-exec-server
expose:
- "8080"
volumes:
- "t9-home:/home"
- "t9-exec-server-config:/etc/t9"
restart: unless-stopped
cpus: 0.75
mem_limit: 1g
ulimits:
nofile:
soft: 1000
hard: 3000
nproc:
soft: 200
hard: 600
external_links:
- postgres
t9-irc-bot:
container_name: t9-irc-bot
image: t9-irc-bot
volumes:
- "t9-home:/media/t9-home-mnt"
- "t9-irc-bot-config:/etc/t9"
depends_on:
- t9-exec-server
restart: unless-stopped
external_links:
- postgres