Skip to content

Improve docs for Docker integration with SymfonyCloud #12591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 22 additions & 17 deletions setup/symfony_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,23 +294,28 @@ to ``DATABASE``, the web server creates environment variables starting with
Here is the list of supported services with their ports and default Symfony
prefixes:

============= ===== ======================
Service Port Symfony default prefix
============= ===== ======================
MySQL 3306 ``DATABASE_``
PostgreSQL 5432 ``DATABASE_``
Redis 6379 ``REDIS_``
RabbitMQ 5672 ``RABBITMQ_`` (set user and pass via Docker ``RABBITMQ_DEFAULT_USER`` and ``RABBITMQ_DEFAULT_PASS`` env var)
ElasticSearch 9200 ``ELASTICSEARCH_``
MongoDB 27017 ``MONGODB_`` (set the database via a Docker ``MONGO_DATABASE`` env var)
Kafka 9092 ``KAFKA_``
============= ===== ======================

The server also supports Mailcatcher images (including
``schickling/mailcatcher``). When ports ``1025`` and ``1080`` are detected,
``MAILER_*`` environment variables are added to support both Symfony Mailer and
Swiftmailer. To access the web mailer, use ``symfony open:local:webmail`` or
click on the "Webmail" link in the web debug toolbar.
============= ========= ======================
Service Port Symfony default prefix
============= ========= ======================
MySQL 3306 ``DATABASE_``
PostgreSQL 5432 ``DATABASE_``
Redis 6379 ``REDIS_``
RabbitMQ 5672 ``RABBITMQ_`` (set user and pass via Docker ``RABBITMQ_DEFAULT_USER`` and ``RABBITMQ_DEFAULT_PASS`` env var)
ElasticSearch 9200 ``ELASTICSEARCH_``
MongoDB 27017 ``MONGODB_`` (set the database via a Docker ``MONGO_DATABASE`` env var)
Kafka 9092 ``KAFKA_``
Mailcatcher 1025/1080 ``MAILER_``
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this notation for the ports difficult to read. Are the ports in the first line mapped to the bottom ones, are all 4 supposed to be assigned or something else?

25/80
============= ========= ======================

You can open web management interfaces for the services that expose them:

.. code-block:: bash

$ symfony open:local:webmail
$ symfony open:local:rabbitmq

Or click on the links in the "Server" section of the web debug toolbar.

.. tip::

Expand Down