This repository was archived by the owner on Apr 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +57
-1
lines changed Expand file tree Collapse file tree 2 files changed +57
-1
lines changed Original file line number Diff line number Diff line change 1+ APP_NAME=Laravel
2+ APP_ENV=testing
3+ APP_KEY=base64:pE3IKKotAdEhrvI9OfUlDsvtlVuzlxZGkiFGbgI7s9I=
4+ APP_DEBUG=false
5+ APP_URL=http://localhost
6+
7+ LOG_CHANNEL=stack
8+
9+ DB_CONNECTION=mysql
10+ DB_HOST=127.0.0.1
11+ DB_PORT=3306
12+ DB_DATABASE=homestead
13+ DB_USERNAME=homestead
14+ DB_PASSWORD=secret
15+
16+ BROADCAST_DRIVER=log
17+ CACHE_DRIVER=file
18+ SESSION_DRIVER=file
19+ SESSION_LIFETIME=120
20+ QUEUE_DRIVER=sync
21+
22+ REDIS_HOST=127.0.0.1
23+ REDIS_PASSWORD=null
24+ REDIS_PORT=6379
25+
26+ MAIL_DRIVER=smtp
27+ MAIL_HOST=smtp.mailtrap.io
28+ MAIL_PORT=2525
29+ MAIL_USERNAME=null
30+ MAIL_PASSWORD=null
31+ MAIL_ENCRYPTION=null
32+
33+ PUSHER_APP_ID=
34+ PUSHER_APP_KEY=
35+ PUSHER_APP_SECRET=
36+ PUSHER_APP_CLUSTER=mt1
37+
38+ MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
39+ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
40+
41+ # API_URL=
42+ # API_USERNAME=
43+ # API_PASSWORD=
Original file line number Diff line number Diff line change @@ -5,12 +5,25 @@ language: minimal
55services :
66 - docker
77
8+ cache :
9+ directories :
10+ - $HOME/docker
11+
12+ before_install :
13+ - if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
14+ - cp .env.travis .env
15+
816install :
9- - docker-compose up -d prod
17+ - docker-compose up -d --build prod
1018
1119script :
1220 - curl --silent --fail --show-error http://127.0.0.1:88
1321
1422after_failure :
1523 - docker-compose exec prod bash -c "tail /var/log/nginx/access.log"
1624 - docker-compose exec prod bash -c "tail /var/log/nginx/error.log"
25+
26+ before_cache :
27+ - >
28+ mkdir -p $HOME/docker && docker images -a --filter='dangling=false' --format '{{.Repository}}:{{.Tag}} {{.ID}}'
29+ | xargs -n 2 -t sh -c 'test -e $HOME/docker/$1.tar.gz || docker save $0 | gzip -2 > $HOME/docker/$1.tar.gz'
You can’t perform that action at this time.
0 commit comments