mirror of https://github.com/MISP/misp-docker
Split docker-compose and build-docker-compose
parent
0d99035e4a
commit
13df7b4fea
|
@ -10,4 +10,5 @@ before_install:
|
||||||
- sudo mv docker-compose /usr/local/bin
|
- sudo mv docker-compose /usr/local/bin
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- docker-compose build
|
- docker-compose -f docker-compose.yml -f build-docker-compose.yml build
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
misp:
|
||||||
|
image: coolacid/misp-docker:core-latest
|
||||||
|
build:
|
||||||
|
context: server/.
|
||||||
|
args:
|
||||||
|
- MISP_TAG=${MISP_TAG}
|
||||||
|
- PHP_VER=${PHP_VER}
|
||||||
|
|
||||||
|
misp-modules:
|
||||||
|
image: coolacid/misp-docker:modules-latest
|
||||||
|
build:
|
||||||
|
context: modules/.
|
||||||
|
args:
|
||||||
|
- MODULES_TAG=${MODULES_TAG}
|
|
@ -20,11 +20,6 @@ services:
|
||||||
|
|
||||||
misp:
|
misp:
|
||||||
image: coolacid/misp-docker:core-latest
|
image: coolacid/misp-docker:core-latest
|
||||||
build:
|
|
||||||
context: server/.
|
|
||||||
args:
|
|
||||||
- MISP_TAG=${MISP_TAG}
|
|
||||||
- PHP_VER=${PHP_VER}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- db
|
- db
|
||||||
|
@ -46,10 +41,6 @@ services:
|
||||||
|
|
||||||
misp-modules:
|
misp-modules:
|
||||||
image: coolacid/misp-docker:modules-latest
|
image: coolacid/misp-docker:modules-latest
|
||||||
build:
|
|
||||||
context: modules/.
|
|
||||||
args:
|
|
||||||
- MODULES_TAG=${MODULES_TAG}
|
|
||||||
environment:
|
environment:
|
||||||
- "REDIS_BACKEND=redis"
|
- "REDIS_BACKEND=redis"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in New Issue