Skip to content

Commit

Permalink
feat: add docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zema1 committed Nov 7, 2023
1 parent 8261d92 commit 7067f4e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: '3'
services:
watchvuln:
restart: always
image: zemal/watchvuln:latest
environment:
DINGDING_ACCESS_TOKEN: YOUR_TOKEN_HERE
DINGDING_SECRET: YOUR_SECRET_HERE
DB_CONN: postgres://watchvuln:watchvuln@postgres:5432/watchvuln
INTERVAL: 30m

postgres:
restart: always
image: postgres:14.4-alpine
environment:
POSTGRES_DB: watchvuln
POSTGRES_USER: watchvuln
POSTGRES_PASSWORD: watchvuln
volumes:
- "./data/postgresql:/var/lib/postgresql/data"

0 comments on commit 7067f4e

Please sign in to comment.