mirror of
https://github.com/status-im/github-webhook-filter.git
synced 2026-08-31 02:31:08 +00:00
Otherwise we get error like this: error: Uncaught (in promise) PermissionDenied: Requires net access to "0.0.0.0:8900", run again with the --allow-net flag Signed-off-by: Jakub Sokołowski <jakub@status.im>
20 lines
408 B
YAML
20 lines
408 B
YAML
version: '3'
|
|
|
|
services:
|
|
main:
|
|
image: shiftinv/github-webhook-filter
|
|
build: .
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
environment:
|
|
HOSTNAME: "0.0.0.0"
|
|
ADDR: "${ADDR:-127.0.0.1}"
|
|
PORT: "${PORT:-8080}"
|
|
ports:
|
|
- '${ADDR:-127.0.0.1}:${PORT:-8080}:${PORT:-8080}'
|
|
command:
|
|
- run
|
|
- --allow-env
|
|
- --allow-net=:${PORT},discord.com
|
|
- main.ts
|