mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
| .github | ||
| .vscode | ||
| devcontainer-example | ||
| development | ||
| docs | ||
| images | ||
| overrides | ||
| resources | ||
| tests | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .shellcheckrc | ||
| CODE_OF_CONDUCT.md | ||
| compose.yaml | ||
| CONTRIBUTING.md | ||
| docker-bake.hcl | ||
| example.env | ||
| install_x11_deps.sh | ||
| LICENSE | ||
| pwd.yml | ||
| README.md | ||
| requirements-test.txt | ||
| setup.cfg | ||
Getting Started
!! You need to be connected to WSL before proceeding
To get started you need Docker, docker-compose, and git setup in WSL. For Docker basics and best practices refer to Docker's documentation. After that, clone this repo:
Introduction
You will be working in the ./development folder a.k.a. workspace. Follow the steps below to set up the workspace.
Workspace Setup
- Clone Repo into your working directory
git clone https://github.com/cronos-capital/RAFNAV-Docker.git
cd RAFNAV-Docker
- Create the devcontainer and VsCode configuration from the templates provided
cp -R devcontainer-example .devcontainer
cp -R development/vscode-example development/.vscode
Build the Image
Run the following command in your working directory
docker build -t rafnav_bench:latest ./images/bench
Container Initialization
-
Open the command pallet with ctrl + shift + p or View->Command Pallet
-
Run the command
dev containers: rebuild and reopen in container -
Wait for the container to warm up...
Starting Development
- Run the installer
frap-install
Note: For additional args and configs run frap-install --help first.
- cd into rafnav's development bench
cd rafnav_bench
- Now you are able to start development on RAFNAV with all the dependencies and correct environment set up.
Documentation
Production
- List of containers
- Single Compose Setup
- Environment Variables
- Single Server Example
- Setup Options
- Site Operations
- Backup and Push Cron Job
- Port Based Multi Tenancy
- Migrate from multi-image setup
- running on linux/mac