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
|
||||
|
||||
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:
|
||||
image: coolacid/misp-docker:core-latest
|
||||
build:
|
||||
context: server/.
|
||||
args:
|
||||
- MISP_TAG=${MISP_TAG}
|
||||
- PHP_VER=${PHP_VER}
|
||||
depends_on:
|
||||
- redis
|
||||
- db
|
||||
|
@ -46,10 +41,6 @@ services:
|
|||
|
||||
misp-modules:
|
||||
image: coolacid/misp-docker:modules-latest
|
||||
build:
|
||||
context: modules/.
|
||||
args:
|
||||
- MODULES_TAG=${MODULES_TAG}
|
||||
environment:
|
||||
- "REDIS_BACKEND=redis"
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in New Issue