[PR #1504] [MERGED] Add docker development environment #5829

Closed
opened 2026-02-05 10:18:12 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/1504
Author: @timoschwarzer
Created: 6/23/2019
Status: Merged
Merged: 8/27/2019
Merged by: @ssddanbrown

Base: masterHead: docker-development-environment


📝 Commits (3)

  • 9357620 Add docker development environment
  • b608bb8 Remove additional database connections and seeders in docker env
  • c6b1f36 Alter docker paths

📊 Changes

8 files changed (+656 additions, -51 deletions)

View changed files

database/seeds/DummyContentSeeder.php (+0 -50)
dev/docker-compose.yml (+41 -0)
dev/docker/Dockerfile (+15 -0)
dev/docker/entrypoint.app.sh (+14 -0)
dev/docker/entrypoint.node.sh (+8 -0)
📝 package-lock.json (+549 -0)
📝 readme.md (+19 -0)
📝 tests/Auth/AuthTest.php (+10 -1)

📄 Description

I wanted to make a small contribution but I didn't want to setup a database server on my local machine so I ended up making this PR.

My goal was to make getting started with development as easy and straightforward as possible.
This PR adds a complete Docker Compose development environment.

Improvements:

  • You don't need any dependencies installed on your computer (composer, php, mysql, node etc.), only Docker and Docker Compose
  • Added an admin user to DummyContentSeeder
  • Straightforward setup in 6 steps. (See changes in readme.md)
  • After the first setup, one only needs to run docker-compose up to spin up the entire development environment (php server, mysql server, npm run watch)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/1504 **Author:** [@timoschwarzer](https://github.com/timoschwarzer) **Created:** 6/23/2019 **Status:** ✅ Merged **Merged:** 8/27/2019 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `docker-development-environment` --- ### 📝 Commits (3) - [`9357620`](https://github.com/BookStackApp/BookStack/commit/9357620d5526d90f04c2d10c62fdea7788bdf664) Add docker development environment - [`b608bb8`](https://github.com/BookStackApp/BookStack/commit/b608bb885955d529a273e688d005acbf98727fbf) Remove additional database connections and seeders in docker env - [`c6b1f36`](https://github.com/BookStackApp/BookStack/commit/c6b1f36412435dc969183913e01de13b3e8fafca) Alter docker paths ### 📊 Changes **8 files changed** (+656 additions, -51 deletions) <details> <summary>View changed files</summary> ➖ `database/seeds/DummyContentSeeder.php` (+0 -50) ➕ `dev/docker-compose.yml` (+41 -0) ➕ `dev/docker/Dockerfile` (+15 -0) ➕ `dev/docker/entrypoint.app.sh` (+14 -0) ➕ `dev/docker/entrypoint.node.sh` (+8 -0) 📝 `package-lock.json` (+549 -0) 📝 `readme.md` (+19 -0) 📝 `tests/Auth/AuthTest.php` (+10 -1) </details> ### 📄 Description I wanted to make a small contribution but I didn't want to setup a database server on my local machine so I ended up making this PR. My goal was to make getting started with development as easy and straightforward as possible. This PR adds a complete Docker Compose development environment. Improvements: - You don't need any dependencies installed on your computer (composer, php, mysql, node etc.), only Docker and Docker Compose - Added an admin user to `DummyContentSeeder` - Straightforward setup in 6 steps. (See changes in `readme.md`) - **After the first setup, one only needs to run `docker-compose up` to spin up the entire development environment (php server, mysql server, npm run watch)** --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:18:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5829