Skip to content

Commit

Permalink
📝 Updated .rst files with docker compose V2
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Apr 3, 2024
1 parent b9985bf commit bde6df2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/developers/embedding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ More examples
-------------

See (on Github) the directory ``docker/embedding`` README file for working examples of
different embedding cases. These should be easy to bring up with docker-compose, provided
different embedding cases. These should be easy to bring up with ``docker compose``, provided
you have a backend instance ready to go.

Backend configuration
Expand Down
6 changes: 3 additions & 3 deletions docs/developers/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ your choice, for example:
docker build -t myorg/open-forms:1.0.0 .
or use the relevant docker-compose command variants.
or use the relevant ``docker compose`` command variants.

**Running all the services with docker-compose**
**Running all the services with docker compose**

You can create your own ``docker-compose.yml`` inspired by the Open Forms docker-compose
configuration, or use the `docker-compose.override.yml <https://docs.docker.com/compose/multiple-compose-files/extends/>`_
Expand All @@ -179,7 +179,7 @@ environment variables your extensions require.

.. code-block:: bash
docker-compose up
docker compose up
Testing in CI
Expand Down
10 changes: 5 additions & 5 deletions docs/installation/docker_compose.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ Getting started
$ unzip master.zip
$ cd open-forms-master
2. Start the docker containers with ``docker-compose``. If you want to run the
2. Start the docker containers with ``docker compose``. If you want to run the
containers in the background, add the ``-d`` option to the command below:

.. code:: bash
$ docker-compose up
docker compose up
Creating network "open-forms-master_default" with the default driver
Creating volume "open-forms-master_db" with default driver
Expand All @@ -67,7 +67,7 @@ Getting started

.. code:: bash
$ docker-compose exec web src/manage.py createsuperuser
docker compose exec web src/manage.py createsuperuser
4. Navigate to ``http://127.0.0.1:8000/admin/`` and use the credentials created
above to log in.
Expand All @@ -76,11 +76,11 @@ Getting started

.. code:: bash
$ docker-compose stop
docker compose stop
6. If you want to get newer versions, you need to ``pull`` because the
``docker-compose.yml`` contains no explicit versions:

.. code:: bash
$ docker-compose pull
$ docker compose pull
2 changes: 1 addition & 1 deletion docs/installation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and expertise.

1. Deploy using :ref:`Ansible <installation_ansible>` for public testing and
production purposes
2. Run with :ref:`Docker-Compose <installation_docker_compose>` on your computer for private testing purposes
2. Run with :ref:`Docker Compose <installation_docker_compose>` on your computer for private testing purposes
3. Run from :ref:`Python code <developers_installation>` on your computer for development purposes

.. note::
Expand Down

0 comments on commit bde6df2

Please sign in to comment.