31 lines
666 B
YAML
31 lines
666 B
YAML
name: eventlens
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
EVENTLENS_REVISION: ${GITEA_COMMIT_SHA:-local}
|
|
container_name: eventlens
|
|
restart: unless-stopped
|
|
ports:
|
|
- "1252:8000"
|
|
labels:
|
|
net.unraid.docker.webui: "http://localhost:1252"
|
|
net.unraid.docker.icon: "http://localhost:1252/eventlens-icon-512.png"
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:rw,noexec,nosuid,size=64m
|
|
mem_limit: 1g
|
|
cpus: 2.0
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "20m"
|
|
max-file: "3"
|