Skip to content

Instantly share code, notes, and snippets.

View anilprasad's full-sized avatar

anilprasad anilprasad

  • Bangalore, Inida
View GitHub Profile
@anilprasad
anilprasad / README.md
Created April 11, 2023 11:50 — forked from revant/README.md
Frappe Docker development bench in production

Install frappe-bench using docker

Clone frappe_docker

git clone https://github.com/frappe/frappe_docker.git
cd frappe_docker

Install bench using docker

Prerequisites

  • EKS Fargate profiles for <fargate-profile-namespace>. Guide
  • EKS Fargate coredns profile for coredns pods to run (create profile for kube-system namespace, refer guide from previous step)
  • EFS CSI Driver installed, mount points set and pv.yaml created. Refer Guide
  • EKS ALB Controller, refer Guide.

Install Helm

Refer Helm Installation to install helm command

@anilprasad
anilprasad / backup.sh
Created April 11, 2023 11:44 — forked from mohsinalimat/backup.sh
MariaDB Backup + Restic
# Video: https://youtu.be/b-KFj8GfvzE
# Full Backup
mariadb-backup --backup \
--user=$DB_ROOT_USER \
--password=$DB_ROOT_PASSWORD \
--target-dir=$BACKUP_BASE_DIR
# Incremental Backup
mariadb-backup --backup \
--user=$DB_ROOT_USER \
@anilprasad
anilprasad / 1_erpnext13_production.sh
Created November 8, 2022 07:52 — forked from drthilina/1_erpnext13_public.sh
Install ERPNext V13 on Ubuntu 20.04 LTS || Production
Install ERPNext V13, FRAPPE-BENCH 13 on Ubuntu 20.04 and configure for production Environment
# Install GIT
$ apt install -y git
# Ubuntu update and upgrade packages
$ apt update -y && apt upgrade -y
# Install Python 3 and dependencies
@anilprasad
anilprasad / docker-compose.yml
Created November 8, 2022 07:47 — forked from revant/docker-compose.yml
OpenCart Docker Compose
version: '2'
services:
mysql:
image: docker.io/bitnami/mysql:5.7.36
environment:
- MYSQL_ROOT_PASSWORD=123
- MYSQL_USER=opencartuser
- MYSQL_DATABASE=opencartdb
- MYSQL_PASSWORD=opencart
volumes:
@anilprasad
anilprasad / backup-with-restic-and-s3.md
Created November 8, 2022 07:24 — forked from revant/backup-with-restic-and-s3.md
backup with restic and S3

For local example, start MinIO

docker run \
  -p 9000:9000 \
  -p 9001:9001 \
  --name localminio \
  -v ~/minio/data:/data \
  -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \
  -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \
@anilprasad
anilprasad / README.md
Created November 8, 2022 07:23 — forked from revant/README.md
ERPNext on Docker Swarm

Follow these steps:

Install prerequisites:

apt-get update && apt-get dist-upgrade -y
dpkg-reconfigure --priority=low unattended-upgrades
adduser -D craft
usermod -aG sudo craft
curl -fsSL https://get.docker.com | bash
@anilprasad
anilprasad / README.md
Created November 8, 2022 07:21 — forked from revant/README.md
ERPNext Development for beginners

Prerequisites:

  • "git" things to know
    • create app's git repo
    • create fork repo
    • create feature branch
    • send, approve and accept merge request
    • git tags, prepare release script.
    • push release to HEAD branch, e.g version-13, version-12, etc.
  • docker
@anilprasad
anilprasad / README.md
Created November 8, 2022 07:21 — forked from revant/README.md
Setup Data Server

Create Data Server

  • Debian / Ubuntu
  • Attach volumes for: MariaDB, MongoDB, NFS
  • Remove Public IP (Optional)
  • Add SSH Key
  • Add SSH Relay namespace and pod to connect to data-server from cluster

Prepare Server

@anilprasad
anilprasad / frappe.md
Created November 8, 2022 07:20 — forked from weiserman/frappe.md
Frappe Bench on Digital Ocean droplet

Guide-to-Install-Frappe-on-Digital-Ocean-Droplet

A guide to Install Frappe Bench v14 on Ubuntu 22.04 LTS and start building the Library Tutorial I hope this makes your Frappe development and exploration more simpler. Frappe Cloud provides great capabilities too. This is for a development server and not for a production build (obviously)

Pre-requisites before your start

  Digital Ocean account and a droplet created
  Ubuntu 22.04 LTS