Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dokku-community/dokku-ufw
Open and close your dokku app's ports.
https://github.com/dokku-community/dokku-ufw
Last synced: 5 days ago
JSON representation
Open and close your dokku app's ports.
- Host: GitHub
- URL: https://github.com/dokku-community/dokku-ufw
- Owner: dokku-community
- License: mit
- Created: 2014-03-24T14:08:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-02T04:45:24.000Z (over 1 year ago)
- Last Synced: 2024-09-01T14:02:48.741Z (2 months ago)
- Language: Shell
- Size: 26.4 KB
- Stars: 20
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-starred - dokku-community/dokku-ufw - Open and close your dokku app's ports. (others)
README
# dokku-ufw [![Build Status](https://img.shields.io/travis/dokku-community/dokku-ufw.svg?branch=master "Build Status")](https://travis-ci.org/josegonzalez/dokku-ufw)
Open and close your dokku app's ports via ufw.
Sometimes you just can't use the usual virtual host-based configuration of dokku, thus needing another way to access the ports used by your applications.
This plugin assumes two things:* You are using [UFW](https://launchpad.net/ufw) to manage your firewall.
* You have already set up UFW on your server.## requirements
- dokku 0.4.0+
- docker 1.8.x## installation
```shell
# on 0.4.x
dokku plugin:install https://github.com/josegonzalez/dokku-ufw.git ufw
```## hooks
This plugin provides hooks:
* `post-deploy`: open ports for app
* `pre-delete`: close ports for app## usage
```shell
# Show all ports belonging to app
dokku ufw:list# Close all ports belonging to app
dokku ufw:close# Open all ports belonging to app
dokku ufw:open
```