show dbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# backup-database.sh | |
#!/bin/bash | |
# Name: mysql-daily.backup.sh | |
# Date: Monday, 1 July 2024 09.00 WIB | |
# Usage: Ubuntu Linux Backup MySQL Server Shell Script | |
# Author: Hendi Santika https:/s.id/hendisantika under GPL v2.x+ | |
# ------------------------------------------------------------------- | |
# Konfigurasi | |
DB_NAME="DB_NAME" | |
DB_USER="DB_USER" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy DEV WEB APP | |
on: | |
push: | |
branches: | |
- master | |
env: | |
ENV_GITHUB: ${{ vars.ENV_GITHUB }} | |
IMAGE_TAG: ${{ github.run_number }} | |
CONTAINER_NAME: dalim-fe | |
REGISTRY: docker.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Development Deployment via Rsync | |
on: | |
push: | |
branches: | |
- master | |
env: | |
ENV_DEV: ${{ vars.ENV_DEV }} | |
ENV_GITHUB: ${{ vars.ENV_GITHUB }} | |
jobs: | |
deployment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.9' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:latest | |
container_name: zookeeper | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 | |
ports: | |
- "2181:2181" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build and deploy Nuxt SSR with PM2" | |
on: [push] | |
jobs: | |
build: | |
name: "Build Nuxt Application" | |
runs-on: [self-hosted, ARM64] # you can also use buildjet.com | |
environment: | |
name: "Production" | |
steps: | |
- uses: actions/checkout@v3 |
-
Confirm you have Docker and Docker compose installed
- If you are on Mac you can install both with Get Docker Desktop for Mac
-
Create a environment var for you Kong License, KONG_LICENSE_DATA
-
Create a file with your json license
-
Create your environment variable KONG_LICENSE_DATA from the above file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: My Workflow | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: lorisleiva/laravel-docker:7.4 | |
steps: | |
- uses: actions/checkout@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Laravel Vapor CD | |
on: | |
release: | |
types: [ published, deleted ] | |
branches: | |
- master | |
jobs: | |
deploy_release: | |
runs-on: ubuntu-20.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, |
NewerOlder