Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

43 rader
847 B

clone:
git:
image: plugins/git
depth: 50
tags: true
pipeline:
frontend:
image: node:8.1.2
group: laravel
commands:
- node -v
- npm -v
- yarn --version
- yarn config set cache-folder .yarn-cache
- yarn install
- yarn run production
backend:
image: laradock/workspace:1.8-71
group: laravel
commands:
- php -v
- composer -V
- cp .env.example .env
- composer install --prefer-dist
- php artisan key:generate
- php artisan migrate
- ./vendor/bin/phpunit
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.3.0
redis:
image: redis:latest
postgres:
image: postgres:9.5.5
environment:
- POSTGRES_DB=homestead
- POSTGRES_USER=homestead
- POSTGRES_PASSWORD=secret