add jenkinsfile and reorganised docker-compose.yml
Some checks failed
abc-api/abcParser/master This commit looks good
abc-api/abcParser/pipeline/head There was a failure building this commit

This commit is contained in:
2020-03-22 10:19:27 -04:00
parent 195ce491a1
commit a530e8fd78
2 changed files with 43 additions and 7 deletions

View File

@@ -1,17 +1,20 @@
version: '2'
version: '3'
services:
parser:
image: abc-api/api:latest
tests:
image: dkregistry.xai-corp.net:5000/xaicorp/php:7.2-dev
volumes:
- .:/var/www
- .:/opt/project
command:
- vendor/bin/codecept
- run
parser-composer:
image: composer/composer:alpine
composer:
image: dkregistry.xai-corp.net:5000/xaicorp/composer:7.2
volumes:
- .:/app
- ~/.ssh:/root/.ssh
- .:/opt/project
# - ~/.ssh:/root/.ssh
entrypoint:
- composer
command: