File tree Expand file tree Collapse file tree 3 files changed +58
-3
lines changed Expand file tree Collapse file tree 3 files changed +58
-3
lines changed Original file line number Diff line number Diff line change
1
+ APP_NAME=Larajs
2
+ APP_ENV=local
3
+ APP_KEY=base64:Sr4hllHGnQPaSFuOlji5vueM9DksuwWcw4ct7WD9/CA=
4
+ APP_DEBUG=true
5
+ APP_URL=http://local.larajs.com
6
+ LARAJS_USE_ESLINT=true
7
+
8
+ LOG_CHANNEL=stack
9
+
10
+ DB_CONNECTION=mysql
11
+ DB_HOST=mysql
12
+ DB_PORT=3306
13
+ DB_DATABASE=homestead
14
+ DB_USERNAME=root
15
+ DB_PASSWORD=secret
16
+
17
+ BROADCAST_DRIVER=log
18
+ CACHE_DRIVER=file
19
+ QUEUE_CONNECTION=sync
20
+ SESSION_DRIVER=file
21
+ SESSION_LIFETIME=120
22
+
23
+ REDIS_HOST=127.0.0.1
24
+ REDIS_PASSWORD=null
25
+ REDIS_PORT=6379
26
+
27
+ MAIL_DRIVER=smtp
28
+ MAIL_HOST=smtp.gmail.com
29
+ MAIL_PORT=587
30
+ MAIL_USERNAME=
31
+ MAIL_PASSWORD=
32
+ MAIL_ENCRYPTION=tls
33
+ MAIL_FROM_ADDRESS=
34
+ MAIL_FROM_NAME="${APP_NAME}"
35
+
36
+ AWS_ACCESS_KEY_ID=
37
+ AWS_SECRET_ACCESS_KEY=
38
+ AWS_DEFAULT_REGION=us-east-1
39
+ AWS_BUCKET=
40
+
41
+ PUSHER_APP_ID=
42
+ PUSHER_APP_KEY=
43
+ PUSHER_APP_SECRET=
44
+ PUSHER_APP_CLUSTER=mt1
45
+ BASE_API=/api/v1
46
+
47
+ MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
48
+ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
49
+ MIX_BASE_API="${BASE_API}"
50
+ MIX_APP_URL="${APP_URL}"
51
+
52
+ PASSPORT_LOGIN_ENDPOINT="${APP_URL}/oauth/token"
53
+ PASSPORT_CLIENT_ID="2"
54
+ PASSPORT_CLIENT_SECRET="secret"
Original file line number Diff line number Diff line change @@ -25,9 +25,10 @@ stages:
25
25
unit_test :
26
26
stage : test
27
27
script :
28
- - cp .env.example .env
28
+ - cp .env.test. example .env
29
29
- composer install
30
30
- php artisan key:generate
31
+ - php artisan migrate
31
32
- vendor/bin/phpunit
32
33
33
34
deploy_dev :
Original file line number Diff line number Diff line change 1
1
# Set the base image for subsequent instructions
2
- FROM php:7.2
2
+ FROM php:7.3
3
3
4
4
# Update packages
5
5
RUN apt-get update
@@ -12,7 +12,7 @@ RUN apt-get clean
12
12
13
13
# Install needed extensions
14
14
# Here you can install any other extension that you need during the test and deployment process
15
- RUN docker-php-ext-install pdo_mysql zip
15
+ RUN docker-php-ext-install pdo_mysql
16
16
17
17
# Install Composer
18
18
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
You can’t perform that action at this time.
0 commit comments