mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-25 09:28:38 -05:00
Compare commits
4 Commits
0c5bc33d47
...
282d6cbdda
Author | SHA1 | Date | |
---|---|---|---|
|
282d6cbdda | ||
f07ef71ce0 | |||
8f1733e493 | |||
f7a9f7aaab |
@ -69,6 +69,7 @@ Help
|
|||||||
====
|
====
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|
||||||
└─> aprsd -h
|
└─> aprsd -h
|
||||||
Usage: aprsd [OPTIONS] COMMAND [ARGS]...
|
Usage: aprsd [OPTIONS] COMMAND [ARGS]...
|
||||||
|
|
||||||
@ -78,9 +79,11 @@ Help
|
|||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
check-version Check this version against the latest in pypi.org.
|
check-version Check this version against the latest in pypi.org.
|
||||||
completion Click Completion subcommands
|
completion Show the shell completion code
|
||||||
dev Development type subcommands
|
dev Development type subcommands
|
||||||
|
fetch-stats Fetch stats from a APRSD admin web interface.
|
||||||
healthcheck Check the health of the running aprsd server.
|
healthcheck Check the health of the running aprsd server.
|
||||||
|
list-extensions List the built in plugins available to APRSD.
|
||||||
list-plugins List the built in plugins available to APRSD.
|
list-plugins List the built in plugins available to APRSD.
|
||||||
listen Listen to packets on the APRS-IS Network based on FILTER.
|
listen Listen to packets on the APRS-IS Network based on FILTER.
|
||||||
sample-config Generate a sample Config file from aprsd and all...
|
sample-config Generate a sample Config file from aprsd and all...
|
||||||
@ -90,7 +93,6 @@ Help
|
|||||||
webchat Web based HAM Radio chat program!
|
webchat Web based HAM Radio chat program!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Commands
|
Commands
|
||||||
========
|
========
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ RUN set -ex \
|
|||||||
# Create a non-root user
|
# Create a non-root user
|
||||||
&& addgroup --system --gid 1001 appgroup \
|
&& addgroup --system --gid 1001 appgroup \
|
||||||
&& useradd --uid 1001 --gid 1001 -s /usr/bin/bash -m -d /app appuser \
|
&& useradd --uid 1001 --gid 1001 -s /usr/bin/bash -m -d /app appuser \
|
||||||
|
&& usermod -aG sudo appuser \
|
||||||
# Upgrade the package index and install security upgrades
|
# Upgrade the package index and install security upgrades
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
@ -51,7 +52,7 @@ RUN if [ "$INSTALL_TYPE" = "pypi" ]; then \
|
|||||||
pip3 install aprsd==$APRSD_PIP_VERSION; \
|
pip3 install aprsd==$APRSD_PIP_VERSION; \
|
||||||
elif [ "$INSTALL_TYPE" = "github" ]; then \
|
elif [ "$INSTALL_TYPE" = "github" ]; then \
|
||||||
git clone -b $APRSD_BRANCH https://github.com/craigerl/aprsd; \
|
git clone -b $APRSD_BRANCH https://github.com/craigerl/aprsd; \
|
||||||
cd /app/aprsd && pip install -e .; \
|
cd /app/aprsd && pip install .; \
|
||||||
ls -al /app/.local/lib/python3.11/site-packages/aprsd*; \
|
ls -al /app/.local/lib/python3.11/site-packages/aprsd*; \
|
||||||
fi
|
fi
|
||||||
RUN pip install gevent uwsgi
|
RUN pip install gevent uwsgi
|
||||||
|
2
setup.py
2
setup.py
@ -1,5 +1,3 @@
|
|||||||
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
|
Loading…
Reference in New Issue
Block a user