1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-25 09:28:38 -05:00

Compare commits

..

4 Commits

Author SHA1 Message Date
dependabot[bot]
282d6cbdda
Merge ee0c546231 into f07ef71ce0 2024-07-25 14:41:41 +00:00
f07ef71ce0 Hack Dockerfile for admin fixes? 2024-07-25 10:41:21 -04:00
8f1733e493 Updated README 2024-05-27 22:28:19 -04:00
f7a9f7aaab removed 2024-05-27 22:27:49 -04:00
3 changed files with 16 additions and 15 deletions

View File

@ -69,6 +69,7 @@ Help
==== ====
:: ::
└─> aprsd -h └─> aprsd -h
Usage: aprsd [OPTIONS] COMMAND [ARGS]... Usage: aprsd [OPTIONS] COMMAND [ARGS]...
@ -77,18 +78,19 @@ Help
-h, --help Show this message and exit. -h, --help Show this message and exit.
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
healthcheck Check the health of the running aprsd server. fetch-stats Fetch stats from a APRSD admin web interface.
list-plugins List the built in plugins available to APRSD. healthcheck Check the health of the running aprsd server.
listen Listen to packets on the APRS-IS Network based on FILTER. list-extensions List the built in plugins available to APRSD.
sample-config Generate a sample Config file from aprsd and all... list-plugins List the built in plugins available to APRSD.
send-message Send a message to a callsign via APRS_IS. listen Listen to packets on the APRS-IS Network based on FILTER.
server Start the aprsd server gateway process. sample-config Generate a sample Config file from aprsd and all...
version Show the APRSD version. send-message Send a message to a callsign via APRS_IS.
webchat Web based HAM Radio chat program! server Start the aprsd server gateway process.
version Show the APRSD version.
webchat Web based HAM Radio chat program!
Commands Commands

View File

@ -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

View File

@ -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