-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
63 lines (63 loc) · 1.34 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '2.4'
volumes:
t9-home:
name: t9-quickstart-home
t9-irc-bot-config:
name: t9-quickstart-irc-bot-config
t9-exec-server-config:
name: t9-quickstart-exec-server-config
t9-postgres-data:
name: t9-quickstart-postgres-data
services:
irc:
container_name: t9-irc
hostname: irc
image: ashafer01/unrealircd4
restart: unless-stopped
expose:
- "6667"
ports:
- "42667:6667"
postgres:
container_name: t9-postgres
hostname: postgres
image: postgres:11-alpine
restart: unless-stopped
expose:
- "5432"
environment:
POSTGRES_PASSWORD: password
volumes:
- "t9-postgres-data:/var/lib/postgresql/data"
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"
depends_on:
- postgres
restart: unless-stopped
cpus: 0.75
mem_limit: 1g
ulimits:
nofile:
soft: 1000
hard: 3000
nproc:
soft: 200
hard: 600
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
- irc
- postgres
restart: unless-stopped