Skip to content

Commit

Permalink
Updating for Laravel 6
Browse files Browse the repository at this point in the history
  • Loading branch information
richdynamix committed Sep 5, 2019
1 parent dfd6f46 commit 88be7b5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 32 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
}
],
"require": {
"php": "^7.1.3",
"illuminate/support" : "~5.5",
"illuminate/console": "~5.5"
"php": "^7.2",
"illuminate/support" : "~6.0",
"illuminate/console": "~6.0"
},
"autoload": {
"psr-4": {
Expand Down
16 changes: 1 addition & 15 deletions stubs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/continuouspipe/php7.2-nginx:stable
FROM digitonic1/php7.3-nginx:latest

# Install node npm
RUN curl -sL https://deb.nodesource.com/setup_11.x > /tmp/install-node.sh \
Expand All @@ -25,20 +25,6 @@ RUN curl -sL https://deb.nodesource.com/setup_11.x > /tmp/install-node.sh \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install headless chrome for Dusk tests
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' \
&& apt-get update && apt-get install -y \
google-chrome-stable \
xvfb \
libnss3-dev \
libxi6 \
libgconf-2-4 \
\
# Clean the image \
&& apt-get auto-remove -qq -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY ./tools/docker/etc/ /etc/
COPY ./tools/docker/usr/ /usr/
Expand Down
13 changes: 9 additions & 4 deletions stubs/docker-compose-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: "3"

services:
web:
container_name: web
build:
context: .
args:
Expand All @@ -17,7 +18,7 @@ services:
- "80:80"
- "443:443"
volumes:
- .:/app
- .:/app:delegated
environment:
VIRTUAL_HOST: "127.0.0.1:80"
REDIS_PORT: 6379
Expand All @@ -26,20 +27,24 @@ services:
MAIL_PASSWORD: ""

database:
image: quay.io/continuouspipe/mysql5.7:stable
container_name: database
image: digitonic1/mysql5.7:latest
environment:
MYSQL_ROOT_PASSWORD: arc
MYSQL_DATABASE: arc
MYSQL_USER: arc
MYSQL_PASSWORD: arc
expose:
- 3306
- 4306
ports:
- "3306:3306"
- "4306:3306"

redis:
image: quay.io/continuouspipe/redis3:stable
container_name: redis
image: digitonic1/redis3:latest
expose:
- 6379
ports:
- "6379:6379"

12 changes: 8 additions & 4 deletions stubs/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: "3"

services:
web:
container_name: web
build:
context: .
args:
Expand All @@ -16,7 +17,7 @@ services:
- "80:80"
- "443:443"
volumes:
- .:/app
- .:/app:delegated
environment:
VIRTUAL_HOST: "127.0.0.1:80"
REDIS_PORT: 6379
Expand All @@ -25,19 +26,22 @@ services:
MAIL_PASSWORD: ""

database:
image: quay.io/continuouspipe/mysql5.7:stable
container_name: database
image: digitonic1/mysql5.7:latest
environment:
MYSQL_ROOT_PASSWORD: arc
MYSQL_DATABASE: arc
MYSQL_USER: arc
MYSQL_PASSWORD: arc
expose:
- 3306
- 4306
ports:
- "3306:3306"
- "4306:3306"

redis:
image: quay.io/continuouspipe/redis3:stable
container_name: redis
image: digitonic1/redis3:latest
expose:
- 6379
ports:
Expand Down
6 changes: 0 additions & 6 deletions tools/docker/usr/local/share/env/20-arc-env
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@ export STRIPE_MODEL=${STRIPE_MODEL:-"App\User"}
export STRIPE_KEY=${STRIPE_KEY:-null}
export STRIPE_SECRET=${STRIPE_SECRET:-null}

export BRAINTREE_MODEL=${BRAINTREE_MODEL:-"App\User"}
export BRAINTREE_ENV=${BRAINTREE_ENV:-null}
export BRAINTREE_MERCHANT_ID=${BRAINTREE_MERCHANT_ID:-null}
export BRAINTREE_PUBLIC_KEY=${BRAINTREE_PUBLIC_KEY:-null}
export BRAINTREE_PRIVATE_KEY=${BRAINTREE_PRIVATE_KEY:-null}

export BROADCAST_DRIVER=${BROADCAST_DRIVER:-pusher}
export PUSHER_APP_ID=${PUSHER_APP_ID:-null}
export PUSHER_KEY=${PUSHER_KEY:-null}
Expand Down

0 comments on commit 88be7b5

Please sign in to comment.