-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.scratch.yml
More file actions
40 lines (35 loc) · 1005 Bytes
/
Copy pathdocker-compose.scratch.yml
File metadata and controls
40 lines (35 loc) · 1005 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
services:
localgo:
image: ghcr.io/bethropolis/localgo:scratch
container_name: localgo
restart: unless-stopped
network_mode: host
environment:
- LOCALSEND_ALIAS=${LOCALSEND_ALIAS:-LocalGo-Scratch}
- LOCALSEND_PORT=${LOCALSEND_PORT:-53317}
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- LOCALSEND_AUTO_ACCEPT=${LOCALSEND_AUTO_ACCEPT:-true}
- LOCALSEND_FORCE_HTTP=${LOCALSEND_FORCE_HTTP:-false}
- LOCALSEND_PIN=${LOCALSEND_PIN:-}
- LOCALSEND_MULTICAST_GROUP=${LOCALSEND_MULTICAST_GROUP:-224.0.0.167}
volumes:
- ./downloads:/app/downloads:z
- ./config:/app/config:z
read_only: true
security_opt:
- no-new-privileges:true
healthcheck:
test: ["/localgo", "health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
deploy:
resources:
limits:
cpus: '1'
memory: 512M
reservations:
cpus: '0.5'
memory: 256M