Skip to content

Commit 2158177

Browse files
authored
Merge pull request #20 from ixpantia/bollard
Add built-in reverse proxy, automatic SSL, and dev mode support
2 parents 6a56353 + 67a1305 commit 2158177

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4510
-1345
lines changed

CLI.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This document describes all available command-line options for Dispenser.
55
## Usage
66

77
```sh
8-
dispenser [OPTIONS]
8+
dispenser [OPTIONS] [COMMAND]
99
```
1010

1111
## Options
@@ -48,6 +48,8 @@ No referenced variables
4848
-------------------------------------------------------------------------------
4949
```
5050

51+
52+
5153
### `-p, --pid-file <PATH>`
5254

5355
Specify the path to the PID file. This file is used to track the running Dispenser process and is required for sending signals with the `--signal` flag.
@@ -94,6 +96,29 @@ Display the current version of Dispenser.
9496
dispenser --version
9597
```
9698

99+
## Subcommands
100+
101+
### `dev`
102+
103+
Starts Dispenser in local development mode.
104+
105+
**Key features:**
106+
- **Implicit Simulation**: Automatically enables SSL simulation (self-signed certificates) for all proxy hosts.
107+
- **Selective Loading**: Only loads and renders services specified with the `--service` flag.
108+
- **Dependency Pruning**: Automatically removes dependencies on services that are not being loaded, allowing selected services to start immediately without waiting for missing dependencies.
109+
110+
**Options:**
111+
- `-s, --service <NAME>`: The name or path of the service(s) to run. Can be specified multiple times (e.g., `-s api -s db` or `-s api db`).
112+
113+
**Example:**
114+
```sh
115+
# Only run the 'api' service
116+
dispenser dev --service api
117+
118+
# Run specific services and bypass others
119+
dispenser dev -s web -s db
120+
```
121+
97122
## Common Usage Patterns
98123

99124
### Running in Foreground (for testing)

0 commit comments

Comments
 (0)