Skip to content

Commit

Permalink
Updated docs theme
Browse files Browse the repository at this point in the history
  • Loading branch information
iplahte committed Apr 14, 2024
1 parent da03002 commit 49879c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
16 changes: 11 additions & 5 deletions sipXwiki/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ Docker Build

To build sipXcom in a docker image, instantiate a container with the following command:

docker run -it --hostname=sipxecs --name=sipxecs-centos7 --privileged --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --label='org.label-schema.build-date=20201113' --label='org.label-schema.license=GPLv2' --label='org.label-schema.name=CentOS Base Image' --label='org.label-schema.schema-version=1.0' --label='org.label-schema.vendor=CentOS' --label='org.opencontainers.image.created=2020-11-13 00:00:00+00:00' --label='org.opencontainers.image.licenses=GPL-2.0-only' --label='org.opencontainers.image.title=CentOS Base Image' --label='org.opencontainers.image.vendor=CentOS' --runtime=runc -d centos:centos7
.. code-block:: bash
docker run -it --hostname=sipxecs --name=sipxecs-centos7 --privileged --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --label='org.label-schema.build-date=20201113' --label='org.label-schema.license=GPLv2' --label='org.label-schema.name=CentOS Base Image' --label='org.label-schema.schema-version=1.0' --label='org.label-schema.vendor=CentOS' --label='org.opencontainers.image.created=2020-11-13 00:00:00+00:00' --label='org.opencontainers.image.licenses=GPL-2.0-only' --label='org.opencontainers.image.title=CentOS Base Image' --label='org.opencontainers.image.vendor=CentOS' --runtime=runc -d centos:centos7
Prepare Server
-----------------
Expand All @@ -38,10 +40,12 @@ Prepare Server

- edit */etc/security/limits.conf* to add the following block of text:

\* soft nproc 65535
\* hard nproc 65535
\* soft nofile 65535
\* hard nofile 65535`
.. code-block:: bash
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535`
- Run `reboot`
Expand All @@ -60,6 +64,8 @@ sipXcom must be built by a user called *sipx* with sudo privileges. Add the *sip
- Run `useradd -m sipx`
- If not on docker, run `passwd sipx`
- Run `visudo` and append:
.. code-block:: bash
# add sipx as sudo user
sipx ALL=(ALL) NOPASSWD:ALL
Expand Down
3 changes: 2 additions & 1 deletion sipXwiki/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'nature'
# html_theme = 'nature'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down

0 comments on commit 49879c7

Please sign in to comment.