-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
39 lines (39 loc) · 1.68 KB
/
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
services:
redactedhook:
container_name: redactedhook
image: ghcr.io/s0up4200/redactedhook:latest
#build:
# context: .
# dockerfile: Dockerfile
#runtime: runsc-ptrace
#network_mode: bridge
user: nobody
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
environment:
#- REDACTEDHOOK__HOST=127.0.0.1 # string: Override the host from config.toml
#- REDACTEDHOOK__PORT=42135 # integer: Override the port from config.toml
#- REDACTEDHOOK__API_TOKEN= # string: Override the API token from config.toml
#- REDACTEDHOOK__RED_APIKEY= # string: Override the red api_key from config.toml
#- REDACTEDHOOK__OPS_APIKEY= # string: Override the ops api_key from config.toml
#- REDACTEDHOOK__LOGS_LOGLEVEL= # string: Override the log level from config.toml
#- REDACTEDHOOK__LOGS_LOGTOFILE= # boolean: Override log to file setting (true/false)
#- REDACTEDHOOK__LOGS_LOGFILEPATH= # string: Override the log file path from config.toml
#- REDACTEDHOOK__LOGS_MAXSIZE= # integer: Override max log file size in MB
#- REDACTEDHOOK__LOGS_MAXBACKUPS= # integer: Override max number of old log files to keep
#- REDACTEDHOOK__LOGS_MAXAGE= # integer: Override max age in days to keep log files
#- REDACTEDHOOK__LOGS_COMPRESS= # boolean: Override log compression setting (true/false)
- TZ=UTC
ports:
- 127.0.0.1:42135:42135
volumes:
- ./:/redactedhook
restart: unless-stopped
healthcheck:
test: ["CMD", "/usr/local/bin/redactedhook", "health"]
interval: 30s
timeout: 10s
retries: 3