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]
f6ada2f137
Merge 6d294113f8 into f07ef71ce0 2024-07-25 14:41:40 +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]...
@ -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
======== ========

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