Frappe v15 dev workspace with Bench, code-server, Supervisor, MariaDB, and Redis.
321
neuron27/frappe-v15-devbox is a browser-accessible Frappe v15 developer workspace image. It gives you a ready-to-run bench with code-server, Supervisor, and optional local MariaDB and Redis so you can start building quickly with Docker.
This image is meant for a single developer workspace, not a full production Frappe cluster.
Pull the image:
docker pull neuron27/frappe-v15-devbox:latest
Run it with local MariaDB and Redis:
docker run --rm -it \
-p 8000:8000 \
-p 8080:8080 \
-e SITE_NAME=dev.localhost \
-e SITE_ADMIN_PASSWORD='change-me-now' \
-e DB_ROOT_PASSWORD='change-me-now' \
-e CREATE_SITE_ON_FIRST_RUN=1 \
-e ENABLE_LOCAL_MARIADB=1 \
-e ENABLE_LOCAL_REDIS=1 \
-v frappe-workspace:/workspace \
-v frappe-mariadb:/var/lib/mysql \
-v frappe-redis:/var/lib/redis \
-v frappe-code-server:/home/frappe/.local/share/code-server \
neuron27/frappe-v15-devbox:latest
After startup:
http://localhost:8000http://localhost:8080On the first run, the container can:
SITE_NAMEWhen you reuse the same Docker volumes, the container is designed to be idempotent and should not recreate the bench, site, or extensions unnecessarily.
For the standard local setup, set these:
SITE_NAMESITE_ADMIN_PASSWORDDB_ROOT_PASSWORDENABLE_LOCAL_MARIADB: 1 to use MariaDB inside the container, 0 to use an external databaseDB_HOST: required when ENABLE_LOCAL_MARIADB=0DB_PORT: MariaDB port, default 3306ENABLE_LOCAL_REDIS: 1 to use Redis inside the container, 0 to use an external RedisREDIS_URL: required when ENABLE_LOCAL_REDIS=0CREATE_SITE_ON_FIRST_RUN: 1 to create the site automatically if it does not existDEVBOX_INSTALL_APPS: comma-separated apps to install after site creationVSCODE_EXTENSIONS: comma-separated code-server extension IDsINSTALL_VSCODE_EXTENSIONS: 1 to install extensions only when the requested set changesBENCH_DIR: bench path, default /workspace/frappe-benchDEVELOPER_MODE: bench-wide developer mode, default 1DNS_MULTITENANT: bench-wide dns_multitenant flag, default 0docker run --rm -it \
-p 8000:8000 \
-p 8080:8080 \
-e SITE_NAME=dev.example.internal \
-e SITE_ADMIN_PASSWORD='change-me-now' \
-e DB_ROOT_PASSWORD='mysql-root-password' \
-e ENABLE_LOCAL_MARIADB=0 \
-e DB_HOST=mysql.example.internal \
-e DB_PORT=3306 \
-e ENABLE_LOCAL_REDIS=0 \
-e REDIS_URL='redis://redis.example.internal:6379' \
-v frappe-workspace:/workspace \
-v frappe-code-server:/home/frappe/.local/share/code-server \
neuron27/frappe-v15-devbox:latest
Use this quick check after startup:
http://localhost:8080 and confirm code-server loads.http://localhost:8000 and confirm the Frappe site responds.latestv150.1.0amd64Content type
Image
Digest
sha256:fe6fcadb0…
Size
677.4 MB
Last updated
5 months ago
docker pull neuron27/frappe-v15-devbox