-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (55 loc) · 1.32 KB
/
docker-compose.yml
File metadata and controls
65 lines (55 loc) · 1.32 KB
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
64
65
services:
ps3-hfw-server:
image: ghcr.io/pcamposu/ps3-hfw-update-server:latest
container_name: ps3-hfw-update-server
restart: unless-stopped
ports:
- target: 53
published: 53
protocol: tcp
- target: 53
published: 53
protocol: udp
- target: 80
published: 80
protocol: tcp
cap_add:
- NET_BIND_SERVICE
environment:
UPSTREAM_DNS: 8.8.8.8
LOCAL_IP: 192.168.1.100
VERBOSE: false
volumes:
- type: volume
source: ps3-hfw-logs
target: /app/logs
volume:
nocopy: true
deploy:
resources:
limits:
cpus: '1.0'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:80/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
security_opt:
- no-new-privileges:true
labels:
com.ps3hfw.description: "PS3 HFW Update Server"
com.ps3hfw.version: "1.0.0"
volumes:
ps3-hfw-logs:
name: ps3-hfw-logs
driver: local