-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
56 lines (54 loc) · 991 Bytes
/
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
version: "3.9"
services:
discord:
build:
context: ./discord
dockerfile: Dockerfile
deploy:
restart_policy:
condition: any
resources:
limits:
cpus: '1'
memory: 512M
ulimits:
nproc: 200
nofile:
soft: 1024
hard: 2048
pids_limit: 200
networks:
network:
ipv4_address: 192.168.0.4
read_only: true
environment:
- TOKEN=:noleek:
web:
build:
context: ./web
dockerfile: Dockerfile
deploy:
restart_policy:
condition: any
resources:
limits:
cpus: '1'
memory: 512M
ulimits:
nproc: 200
nofile:
soft: 1024
hard: 2048
pids_limit: 200
networks:
network:
ipv4_address: 192.168.0.6
read_only: true
environment:
- YTDL_NO_UPDATE=true
networks:
network:
ipam:
driver: default
config:
- subnet: 192.168.0.0/24