Skip to content

Commit c106c4c

Browse files
committed
minor #12591 Improve docs for Docker integration with SymfonyCloud (fabpot)
This PR was merged into the 3.4 branch. Discussion ---------- Improve docs for Docker integration with SymfonyCloud <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 0a0ff1a Improve docs for Docker integration with SymfonyCloud
2 parents e677f51 + 0a0ff1a commit c106c4c

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

setup/symfony_server.rst

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -294,23 +294,28 @@ to ``DATABASE``, the web server creates environment variables starting with
294294
Here is the list of supported services with their ports and default Symfony
295295
prefixes:
296296

297-
============= ===== ======================
298-
Service Port Symfony default prefix
299-
============= ===== ======================
300-
MySQL 3306 ``DATABASE_``
301-
PostgreSQL 5432 ``DATABASE_``
302-
Redis 6379 ``REDIS_``
303-
RabbitMQ 5672 ``RABBITMQ_`` (set user and pass via Docker ``RABBITMQ_DEFAULT_USER`` and ``RABBITMQ_DEFAULT_PASS`` env var)
304-
ElasticSearch 9200 ``ELASTICSEARCH_``
305-
MongoDB 27017 ``MONGODB_`` (set the database via a Docker ``MONGO_DATABASE`` env var)
306-
Kafka 9092 ``KAFKA_``
307-
============= ===== ======================
308-
309-
The server also supports Mailcatcher images (including
310-
``schickling/mailcatcher``). When ports ``1025`` and ``1080`` are detected,
311-
``MAILER_*`` environment variables are added to support both Symfony Mailer and
312-
Swiftmailer. To access the web mailer, use ``symfony open:local:webmail`` or
313-
click on the "Webmail" link in the web debug toolbar.
297+
============= ========= ======================
298+
Service Port Symfony default prefix
299+
============= ========= ======================
300+
MySQL 3306 ``DATABASE_``
301+
PostgreSQL 5432 ``DATABASE_``
302+
Redis 6379 ``REDIS_``
303+
RabbitMQ 5672 ``RABBITMQ_`` (set user and pass via Docker ``RABBITMQ_DEFAULT_USER`` and ``RABBITMQ_DEFAULT_PASS`` env var)
304+
ElasticSearch 9200 ``ELASTICSEARCH_``
305+
MongoDB 27017 ``MONGODB_`` (set the database via a Docker ``MONGO_DATABASE`` env var)
306+
Kafka 9092 ``KAFKA_``
307+
Mailcatcher 1025/1080 ``MAILER_``
308+
25/80
309+
============= ========= ======================
310+
311+
You can open web management interfaces for the services that expose them:
312+
313+
.. code-block:: bash
314+
315+
$ symfony open:local:webmail
316+
$ symfony open:local:rabbitmq
317+
318+
Or click on the links in the "Server" section of the web debug toolbar.
314319

315320
.. tip::
316321

0 commit comments

Comments
 (0)