Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

webstacknl/docker-toolbar-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Toolbar Bundle

Simple Symfony Bundle to use with Symfony CLI and Docker to easily access Docker services on random port numbers.

How to use

Use Symfony CLI with the Docker Integration as described at the Symfony Server docs. Docker will use random port numbers for each service when it's container is started making it difficult to access web based UI's in those containers.

Symfony CLI adds links in the special CLI section of the toolbar for RabbitMQ UI, MailCatcher and Blackfire. Others like phpMyAdmin and Adminer are not (yet) supported. See this issue for more information. Until there is a flexible solution within Symfony CLI, we have created this solution.

These bundle re-uses the environment variables created by Symfony CLI, so no additional configuration is required. If Symfony CLI generated an URL environment variable for a service, that one is ued. If not, it is composed out of the HOST and PORT environment variables. Some services are filtered based on there protocol (only when _URL environment variable is given).

Installation

composer require webstack/docker-toolbar-bundle --dev

Example

Contributing

Suggestions for improving and extending functionality of this bundle are welcome.


Note: I am not a Go developer, so sadly I can't help out with writing an implementation within Symfony CLI itself.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published