-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathbuild-docker-compose.yml
30 lines (30 loc) · 1.01 KB
/
build-docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '3'
services:
misp:
image: coolacid/misp-docker:core-latest
build:
context: server/.
args:
- MISP_TAG=${MISP_TAG}
- PHP_VER=${PHP_VER}
ports:
- "80:80"
- "443:443"
volumes:
- "./server-configs/:/var/www/MISP/app/Config/"
- "./logs/:/var/www/MISP/app/tmp/logs/"
- "./files/:/var/www/MISP/app/files"
- "./ssl/:/etc/nginx/certs"
# - "./examples/custom-entrypoint.sh:/custom-entrypoint.sh" # Use the example custom-entrypoint.sh
environment:
- "INIT=true" # Initialze MISP, things includes, attempting to import SQL and the Files DIR
- "HOSTNAME=https://localhost"
- "REDIS_FQDN=redis"
- "CRON_USER_ID=1" # The MISP user ID to run cron jobs as
- "SYNCSERVERS=1 2 3 4" # The MISP Feed servers to sync in the cron job
misp-modules:
image: coolacid/misp-docker:modules-latest
build:
context: modules/.
args:
- MODULES_TAG=${MODULES_TAG}