Skip to content

Commit

Permalink
Merge pull request Uninett#2978 from hmpf/improve-dev-with-docker-docs
Browse files Browse the repository at this point in the history
Improve docs for developing with docker
  • Loading branch information
lunkwill42 authored Sep 17, 2024
2 parents 08741f4 + 7e83964 commit 2d9827d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ For detailed instructions on how to install NAV, see
`<doc/intro/install.rst>`_. See the file `<NOTES.rst>`_ for release notes and
upgrade instructions.

Take it for a quick spin
------------------------
For instruction on how to use docker to run code straight from the repo, see
`<doc/hacking/using-docker.rst>`_. Please be aware, though, that this is a highly developer-oriented environment, and is not suitable for production use.

Contributing
------------
Expand Down
2 changes: 2 additions & 0 deletions changelog.d/2978.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Link to the doc for using docker for development from the readme and
mention what ports are used when using docker for dev.
4 changes: 4 additions & 0 deletions doc/hacking/using-docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ the first time is by running these commands::
coffee (and maybe redecorate your living room), as the initial build
may take a while.

.. warning:: Running ``docker compose up`` will take over the local ports 80
(for the website) and 8000 (for graphite). You can override this
with a ``docker-compose.override.yml`` file.

Troubleshooting
~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 2d9827d

Please sign in to comment.