mirror of
https://github.com/Oxbian/SIDPS.git
synced 2025-07-07 12:24:38 +02:00
feat: config file + database connection / dockerfile
This commit is contained in:
@ -56,8 +56,8 @@ services:
|
||||
# Sonde IDS
|
||||
ids:
|
||||
build:
|
||||
context: Dockerfiles/.
|
||||
dockerfile: Dockerfile.ids
|
||||
context: ..
|
||||
dockerfile: Demo/Dockerfiles/Dockerfile.ids
|
||||
container_name: ids
|
||||
command: sleep infinity
|
||||
cap_add:
|
||||
@ -72,11 +72,14 @@ services:
|
||||
|
||||
# BDD d'alertes
|
||||
alert_db:
|
||||
image: mysql:5.7
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: Demo/Dockerfiles/Dockerfile.db
|
||||
container_name: alert_db
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
MYSQL_DATABASE: alert_db
|
||||
ports:
|
||||
- "3306:3306"
|
||||
networks:
|
||||
net_private:
|
||||
ipv4_address: 172.20.2.10
|
||||
|
Reference in New Issue
Block a user