Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
14 Jun 2025: Added Docker configuration files for local run
09 Dec 2024: Added Pen Plotter Servo Pen Move Time Parameter
02 Dec 2024: Added Pen Plotter Hello World
25 Nov 2024: Added ACRO A1 profile and Scribe toolhead
Expand Down
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM nginx:stable-alpine3.21

COPY ./app /usr/share/nginx/html

EXPOSE 80

# Start nginx
CMD ["nginx", "-g", "daemon off;"]

41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,44 @@ OpenBuilds CAM - Cloud based software for converting DXF, SVG, Bitmap (BMP, JPG,


Access it live at [https://cam.openbuilds.com](https://cam.openbuilds.com)


## Self-hosting the CAM software with Docker:

### Building the Docker container

To build this yourself, install Docker on your preferred operating system and do the following:

```bash
cd /path/to/OpenBuilds-CAM/
docker build -t yourdockercontainername:latest -f Dockerfile .
# Optional, push to Docker Hub
docker push yourdockercontainername:latest
```

### Running the Docker container

To run the docker container, make sure you build it first, then do the following:
```bash
# To run the docker container in the foreground:
docker run yourdockercontainername:latest

# To run it with docker-compose, make sure docker-compose-plugin is installed (or Docker Desktop is installed for Windows)
cd /path/to/OpenBuilds-CAM/
docker-compose up -d

# To stop the docker container if running with Docker Compose:
cd /path/to/OpenBuilds-CAM/
docker-compose down
```

### Accessing/Using OpenBuilds-CAM from Docker

The docker container exposes port 80. Make sure your computer has not already reserved port 80, if using the docker container directly.

If using docker-compose, you may wish to change the forwarded port by editing docker-compose.yml. The chosen default port is 9944, which
forwards to the container's port 80.

After running the container with Docker Compose, you can access it at http://computerYouRanItFrom:9944/
If you run the docker container directly, you can access it at http://localhost:80/

File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading