2018-06-22 15:51:16 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
proxy:
|
|
|
|
build:
|
2018-10-17 19:20:26 +02:00
|
|
|
context: proxy
|
2020-11-09 18:25:33 +01:00
|
|
|
container_name: misp_proxy
|
2018-10-17 19:20:26 +02:00
|
|
|
restart: unless-stopped
|
2018-06-22 15:51:16 +02:00
|
|
|
image: misp-proxy:latest
|
|
|
|
ports:
|
2018-10-17 19:20:26 +02:00
|
|
|
- 80:80
|
2020-11-06 11:18:05 +01:00
|
|
|
- 443:443
|
2018-06-22 15:51:16 +02:00
|
|
|
|
2018-10-17 19:20:26 +02:00
|
|
|
web:
|
|
|
|
build: web
|
|
|
|
container_name: misp_web
|
2020-10-21 13:47:56 +02:00
|
|
|
image: misp:latest
|
2018-10-17 19:20:26 +02:00
|
|
|
restart: unless-stopped
|
2018-06-22 15:51:16 +02:00
|
|
|
volumes:
|
|
|
|
- /dev/urandom:/dev/random
|
2019-07-25 17:02:19 +02:00
|
|
|
- ${DATA_DIR}/web:/var/www/MISP
|
2018-06-22 15:51:16 +02:00
|
|
|
environment:
|
2019-09-03 15:31:44 +02:00
|
|
|
- MYSQL_HOST=${MYSQL_HOST}
|
2019-07-25 17:02:19 +02:00
|
|
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
|
|
|
- MYSQL_USER=${MYSQL_USER}
|
|
|
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
|
|
|
- MISP_ADMIN_EMAIL=${MISP_ADMIN_EMAIL}
|
|
|
|
- MISP_ADMIN_PASSPHRASE=${MISP_ADMIN_PASSPHRASE}
|
|
|
|
- MISP_BASEURL=${MISP_BASEURL}
|
|
|
|
- POSTFIX_RELAY_HOST=${POSTFIX_RELAY_HOST}
|
|
|
|
- TIMEZONE=${TIMEZONE}
|
2018-06-22 15:51:16 +02:00
|
|
|
|
2018-10-17 19:20:26 +02:00
|
|
|
db:
|
|
|
|
container_name: misp_db
|
|
|
|
image: mysql/mysql-server:5.7
|
|
|
|
restart: unless-stopped
|
2018-06-22 15:51:16 +02:00
|
|
|
volumes:
|
2019-07-25 17:02:19 +02:00
|
|
|
- ${DATA_DIR}/db:/var/lib/mysql
|
2018-06-22 15:51:16 +02:00
|
|
|
environment:
|
2019-07-25 17:02:19 +02:00
|
|
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
|
|
|
- MYSQL_USER=${MYSQL_USER}
|
|
|
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
|
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
2018-06-22 17:24:00 +02:00
|
|
|
|