Update server_mode.rst with better docker run commands (#6976)

This commit is contained in:
Tomer Shalev 2023-11-02 21:34:04 +02:00 committed by GitHub
parent d0faccdbf4
commit bd71374c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,8 +98,8 @@ This is stored in two different repositories:
.. code-block:: bash .. code-block:: bash
docker run motoserver/moto:latest docker run --rm -p 5000:5000 --name moto motoserver/moto:latest
docker run ghcr.io/getmoto/motoserver:latest docker run --rm -p 5000:5000 --name moto ghcr.io/getmoto/motoserver:latest
Example docker-compose.yaml Example docker-compose.yaml
Look at `server.py <https://github.com/getmoto/moto/blob/master/moto/server.py>`_ to find more environment variables. Look at `server.py <https://github.com/getmoto/moto/blob/master/moto/server.py>`_ to find more environment variables.