laravel: series 5

This commit is contained in:
Sameer Naik
2017-02-21 14:04:49 +05:30
parent bce925ceed
commit 4f4e418cb1
6 changed files with 29 additions and 3 deletions

View File

@@ -1 +1 @@
/local/
local/

View File

View File

@@ -0,0 +1,24 @@
version: '2'
services:
mariadb:
image: bitnami/mariadb:latest
environment:
- MARIADB_USER=my_user
- MARIADB_DATABASE=my_database
- MARIADB_PASSWORD=my_password
myapp:
tty: true
image: bitnami/laravel:5
environment:
- DB_HOST=mariadb
- DB_USERNAME=my_user
- DB_DATABASE=my_database
- DB_PASSWORD=my_password
depends_on:
- mariadb
ports:
- 3000:3000
volumes:
- ./:/app

View File

@@ -2,6 +2,8 @@ machine:
services:
- docker
environment:
RELEASE_SERIES_LIST: 5
LATEST_STABLE: 5
IMAGE_NAME: laravel
CHART_NAME: laravel
CHART_REPO: https://github.com/bitnami/charts
@@ -12,11 +14,11 @@ dependencies:
override:
- docker info
- gcloud version
- docker pull $DOCKER_PROJECT/$IMAGE_NAME:_ || true
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-pull-cache.sh | bash -
test:
override:
- docker build --rm=false -t $DOCKER_PROJECT/$IMAGE_NAME:$CIRCLE_BUILD_NUM .
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-image-test.sh | bash -
deployment:
cache: