Initial release
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
services:
|
||||
open-report-analyzer:
|
||||
build: .
|
||||
image: zeguigui/open-report-analyzer:latest
|
||||
restart: always
|
||||
environment:
|
||||
- "DB_HOST=db"
|
||||
- "DB_USER=dmarc"
|
||||
- "DB_PASS=password"
|
||||
- "DB_NAME=dmarc"
|
||||
- "DB_PORT=3306"
|
||||
- "DB_TYPE=mysql"
|
||||
- "GEO_ENABLE=0"
|
||||
- "DATE_RANGE=-1w"
|
||||
volumes:
|
||||
- ./conf/report-parser.conf:/opt/open-report-parser/report-parser.conf:ro
|
||||
ports:
|
||||
- 8080:80
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: mariadb:lts
|
||||
restart: always
|
||||
environment:
|
||||
- "MARIADB_RANDOM_ROOT_PASSWORD=yes"
|
||||
- "MARIADB_DATABASE=dmarc"
|
||||
- "MARIADB_USER=dmarc"
|
||||
- "MARIADB_PASSWORD=password"
|
||||
volumes:
|
||||
- ./data:/var/lib/mysql
|
||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
Reference in New Issue
Block a user