-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
# bunker | ||
simple bastion system for linux hosts | ||
|
||
A simple bastion system for linux hosts | ||
|
||
## Installation | ||
|
||
### From Binary | ||
|
||
Visit [GitHub Releases](https://github.com/yankeguo/bunker/releases) and download the latest release. | ||
|
||
Static assets are embedded in the binary, so you don't need to download anything else. | ||
|
||
- Prepare a `data` directory and put `bunker.yaml` configuration file in it | ||
- Run `bunker -data-dir data` | ||
|
||
### From Container Image | ||
|
||
Visit [DockerHub Repository](https://hub.docker.com/repository/docker/yankeguo/bunker) or [GitHub Packages](https://github.com/yankeguo?tab=packages&repo_name=bunker) for container images | ||
|
||
- Prepare a `data` directory and put `bunker.yaml` configuration file in it | ||
- Run contaienr image with `/data` mounted, `docker run -p 8080:8080 -p 8022:8022 -v $PWD/data:/data yankeguo/bunker:latest` | ||
|
||
## Configuration File | ||
|
||
```yaml | ||
server: | ||
listen: ":8080" | ||
ssh_server: | ||
listen: ":8022" | ||
``` | ||
## Credits | ||
GUO YANKE, MIT License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters