This commit is contained in:
parent
6a5839d5d4
commit
793af9d4a6
@ -1,15 +1,15 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: mirror-to-github
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: mirror-to-github
|
- name: push-to-github
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
environment:
|
environment:
|
||||||
SSH_PRIVATE_KEY:
|
SSH_PRIVATE_KEY:
|
||||||
from_secret: GITHUB_DEPLOY_KEY
|
from_secret: SSH_PRIVATE_KEY
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache openssh git
|
- apk add --no-cache git openssh
|
||||||
- mkdir -p /root/.ssh
|
- mkdir -p /root/.ssh
|
||||||
- echo "$SSH_PRIVATE_KEY" > /root/.ssh/id_rsa
|
- echo "$SSH_PRIVATE_KEY" > /root/.ssh/id_rsa
|
||||||
- chmod 600 /root/.ssh/id_rsa
|
- chmod 600 /root/.ssh/id_rsa
|
||||||
|
22
.env.example
22
.env.example
@ -1,6 +1,6 @@
|
|||||||
APP_NAME=Laravel
|
APP_NAME=Polisplexity
|
||||||
APP_ENV=local
|
APP_ENV=local
|
||||||
APP_KEY=
|
APP_KEY=base64:GENERATE_A_KEY_USING_ARTISAN
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
|
||||||
@ -11,9 +11,9 @@ LOG_LEVEL=debug
|
|||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=127.0.0.1
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=laravel
|
DB_DATABASE=your_local_db
|
||||||
DB_USERNAME=root
|
DB_USERNAME=your_local_user
|
||||||
DB_PASSWORD=
|
DB_PASSWORD=your_local_password
|
||||||
|
|
||||||
BROADCAST_DRIVER=log
|
BROADCAST_DRIVER=log
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
@ -29,12 +29,12 @@ REDIS_PASSWORD=null
|
|||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
|
|
||||||
MAIL_MAILER=smtp
|
MAIL_MAILER=smtp
|
||||||
MAIL_HOST=mailpit
|
MAIL_HOST=smtp.mailtrap.io
|
||||||
MAIL_PORT=1025
|
MAIL_PORT=2525
|
||||||
MAIL_USERNAME=null
|
MAIL_USERNAME=your_mail_user
|
||||||
MAIL_PASSWORD=null
|
MAIL_PASSWORD=your_mail_pass
|
||||||
MAIL_ENCRYPTION=null
|
MAIL_ENCRYPTION=null
|
||||||
MAIL_FROM_ADDRESS="hello@example.com"
|
MAIL_FROM_ADDRESS="hi@example.com"
|
||||||
MAIL_FROM_NAME="${APP_NAME}"
|
MAIL_FROM_NAME="${APP_NAME}"
|
||||||
|
|
||||||
AWS_ACCESS_KEY_ID=
|
AWS_ACCESS_KEY_ID=
|
||||||
@ -57,3 +57,5 @@ VITE_PUSHER_HOST="${PUSHER_HOST}"
|
|||||||
VITE_PUSHER_PORT="${PUSHER_PORT}"
|
VITE_PUSHER_PORT="${PUSHER_PORT}"
|
||||||
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
|
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
|
||||||
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||||
|
|
||||||
|
PINATA_JWT=your_test_jwt_here
|
||||||
|
55
docker-compose.yml
Normal file
55
docker-compose.yml
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
laravel.test:
|
||||||
|
build:
|
||||||
|
context: ./vendor/laravel/sail/runtimes/8.2
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
WWWGROUP: '1000'
|
||||||
|
image: sail-8.2/app
|
||||||
|
ports:
|
||||||
|
- '${APP_PORT:-80}:80'
|
||||||
|
environment:
|
||||||
|
WWWUSER: '1000'
|
||||||
|
LARAVEL_SAIL: 1
|
||||||
|
volumes:
|
||||||
|
- '.:/var/www/html'
|
||||||
|
networks:
|
||||||
|
- sail
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
|
- redis
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
image: 'mysql:8.0'
|
||||||
|
ports:
|
||||||
|
- '3306:3306'
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD:-secret}'
|
||||||
|
MYSQL_DATABASE: '${DB_DATABASE:-laravel}'
|
||||||
|
MYSQL_USER: '${DB_USERNAME:-sail}'
|
||||||
|
MYSQL_PASSWORD: '${DB_PASSWORD:-secret}'
|
||||||
|
volumes:
|
||||||
|
- 'sailmysql:/var/lib/mysql'
|
||||||
|
networks:
|
||||||
|
- sail
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: 'redis:alpine'
|
||||||
|
ports:
|
||||||
|
- '6379:6379'
|
||||||
|
volumes:
|
||||||
|
- 'sailredis:/data'
|
||||||
|
networks:
|
||||||
|
- sail
|
||||||
|
|
||||||
|
networks:
|
||||||
|
sail:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
sailmysql:
|
||||||
|
driver: local
|
||||||
|
sailredis:
|
||||||
|
driver: local
|
||||||
|
|
@ -2,25 +2,25 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V3LLYR5D03"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V3LLYR5D03"></script>
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-V3LLYR5D03');
|
||||||
gtag('config', 'G-V3LLYR5D03');
|
</script>
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Head contents -->
|
<!-- Head contents -->
|
||||||
<title>Polisplexity</title>
|
<title>Polisplexity</title>
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
|
||||||
<link rel="stylesheet" href= "{{ asset('public/css/master/master.css') }}"/>
|
<link rel="stylesheet" href="{{ asset('css/master/master.css') }}"/>
|
||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@include('components.master.nav.nav')
|
@include('components.master.nav.nav')
|
||||||
|
|
||||||
{{-- For success messages --}}
|
{{-- For success messages --}}
|
||||||
@if(session('success'))
|
@if(session('success'))
|
||||||
<div class="alert alert-success">
|
<div class="alert alert-success">
|
||||||
@ -35,17 +35,15 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@yield('content')
|
||||||
|
|
||||||
@yield('content')
|
@include('components.master.footer.footer')
|
||||||
|
|
||||||
@include('components.master.footer.footer')
|
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js"></script>
|
||||||
|
<script src="{{ asset('js/navbar/metamask.js') }}"></script>
|
||||||
|
<script src="{{ asset('js/navbar/web3-login.js') }}"></script>
|
||||||
|
<script src="{{ asset('js/web3-utils/w3forms.js') }}"></script>
|
||||||
|
<script src="{{ asset('js/master/master.js') }}"></script>
|
||||||
</body>
|
</body>
|
||||||
|
</html>
|
||||||
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js"></script>
|
|
||||||
<script src="{{ asset('public/js/navbar/metamask.js') }}"></script>
|
|
||||||
<script src="{{ asset('public/js/navbar/web3-login.js') }}"></script>
|
|
||||||
<script src="{{ asset('public/js/web3-utils/w3forms.js') }}"></script>
|
|
||||||
<script src="{{ asset('public/js/master/master.js') }}"></script>
|
|
||||||
</html>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user