Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Dockistrate

Dockistrate runs application containers behind a shared Nginx proxy. Its interactive menus guide you through applications, ports, certificates, routing, headers, and access rules. Review a change before running it, then check the result. The same commands are available for automation.

It is built for trusted infrastructure operators with Docker access. Linux and macOS are supported, including macOS Bash 3.2. Operators do not need Python.

Upgrading from 1.x? Version 2.0.0 requires state migration and backend ownership setup. Back up configuration and application data, then follow the upgrade guide.

Get started

Install Docker and OpenSSL. On macOS, keep Docker Desktop running. The examples use curl to check application responses. See the requirements for development and test dependencies.

Clone the repository and choose a production release tag. Replace vX.Y.Z with that tag; a detached HEAD is expected.

git clone https://github.com/nourae/dockistrate-oss.git
cd dockistrate-oss
git fetch --tags --prune origin
git checkout vX.Y.Z
./dockistrate.sh -i

Choose a task from Home.

Choose a task from Home. Read the captured text.

Use the arrow keys and Enter, or the displayed numbers, to choose an item. Press ? for help. Back, Esc, or Q returns from a menu; at Home, Esc or Q exits. In a text field, type back to revisit the previous step. Blank input follows the displayed default. Learn navigation, Search, Recent commands, and Favorites.

Your first application

Start with a fresh demonstration installation and available ports 80 and 443. Choose Add a new backend, enter example.com, select HTTP, and choose dockistrate-net. Use nginx:alpine, container port 80, and listen port 80. Keep WebSocket disabled, choose Expose now, and leave extra Docker options empty. Review the values, then choose Run.

Review the domain, image and ports before choosing Run.

Review the domain, image and ports before choosing Run. Read the captured text.

The proxy starts with the exposed backend. Fresh configurations deny requests at both address layers. For this public demonstration, choose Advanced command browser → Backend Access Overrides → Set Backend ACL Policy, select example.com, choose allow, and run the change. Private applications should keep the appropriate client and connection-peer allowances.

Choose Diagnostics / troubleshoot → Check Config, then make a request:

curl --noproxy '*' -i http://127.0.0.1 -H 'Host: example.com'

A request through the proxy returns HTTP 200 and the example application.

A request through the proxy returns HTTP 200 and the example application. Read the captured text.

A successful example returns 200 OK and the Nginx welcome page. This local request needs no DNS change. The complete backend walkthrough shows the prompts, result, verification, and removal steps.

Continue with local HTTPS or block and unblock a matching request. Each guide includes choices, screenshots, short explanations, verification, and undo steps. Self-signed HTTPS is a local demonstration; use a trusted certificate for public clients.

Find your next task

I want to… Illustrated guide
Add applications, ports, or WebSockets Backends and ports
Add a hostname or change inheritance Hosts and aliases
Configure HTTPS, TLS, or HTTP/3 Certificates and TLS
Require client certificates Mutual TLS
Control clients or requests Access controls
Route paths or change headers Routing · Headers and client IPs
Investigate a problem Diagnostics, logs, and capture
Back up, recover, or upgrade Backup and recovery · Updates

The documentation index maps every menu section to its guide. Use Search all commands when you already know the operation's name.

Edit configuration files

Each domain has editable CSV files under state/domains/<domain>/config/. Manual edits remain pending until you choose Domain configuration files → Validate Domain Config → Apply Domain Config. Preview the changes before choosing Apply changes. Existing menu commands apply their changes immediately, while protecting pending manual edits.

The domain configuration guide explains file editing, previews, application, and recovery. The last successful configuration remains in runtime/applied/ beneath the domain directory.

Automation and reference

The review screen names each selected setting and includes the equivalent CLI command. Commands needing no arguments show (none). Start with:

./dockistrate.sh help
source completion/dockistrate-completion.bash

Use advanced settings for Nginx options, images, and runtime settings. Before an upgrade, back up and follow the update guide. Application volumes and bind mounts need their own backups; configuration backups alone do not protect that data.

See contributing, the security policy, and the function reference for development and deeper technical details. Dockistrate is independent of Docker, F5, NGINX, Certbot, Let's Encrypt, and other integrated services. See LICENSE.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages