aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-22 08:59:30 +0000
committerGitHub <[email protected]>2021-07-22 08:59:30 +0000
commit0781cb7cee7391a83eb894db58a19375ed2df750 (patch)
tree2b2da42d7e1161bcce6d1d66f6d97d2376d91c29
parentfix(docker): add docker environment use cases (diff)
downloadcapybara-0781cb7cee7391a83eb894db58a19375ed2df750.tar.xz
capybara-0781cb7cee7391a83eb894db58a19375ed2df750.zip
chore(readme): docker compose usage information
-rw-r--r--README.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 9d7c5a2..6a435ad 100644
--- a/README.rst
+++ b/README.rst
@@ -39,6 +39,22 @@ body in a :code:`<style>` block like with the -s flag. The given stylesheet can
be a relative link, for instance :code:`-e /main.css` will serve
:code:`main.css` from the root of the proxied Gemini capsule.
+Docker
+------
+
+.. code-block:: shell
+
+ $ docker run -d [-b BIND='127.0.0.1:8080'] [-s CSS='style.css'] [-e CSS_EXTERNAL='style.css'] fuwn/capybara
+
+Docker Compose
+--------------
+
+Edit the :code:`docker-compose.yml` file to your liking, then...
+
+.. code-block:: shell
+
+ $ docker-compose up -d
+
License
~~~~~~~