1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-12-23 18:15:57 -05:00

Update docs on using Docker

This commit is contained in:
ranguli 2022-11-01 21:49:58 -02:30 committed by GitHub
parent 7db2242060
commit bb09296efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,16 +460,25 @@ Development Build
Running the container Running the container
^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
There is a docker-compose.yml file that can be used to run your container. There is a ``docker-compose.yml`` file in the ``docker/`` directory
There are 2 volumes defined that can be used to store your configuration that can be used to run your container. To provide the container
and the plugins directory: /config and /plugins an ``aprsd.conf`` configuration file, change your
``docker-compose.yml`` as shown below:
If you want to install plugins at container start time, then use the ::
environment var in docker-compose.yml specified as APRS_PLUGINS
Provide a csv list of pypi installable plugins. Then make sure the plugin volumes:
python file is in your /plugins volume and the plugin will be installed at - $HOME/.config/aprsd:/config
container startup. The plugin may have dependencies that are required.
The plugin file should be copied to /plugins for loading by aprsd To install plugins at container start time, pass in a list of
comma-separated list of plugins on PyPI using the ``APRSD_PLUGINS``
environment variable in the ``docker-compose.yml`` file. Note that
version constraints may also be provided. For example:
::
environment:
- APRSD_PLUGINS=aprsd-slack-plugin>=1.0.2,aprsd-twitter-plugin
.. badges .. badges