Compare commits

..

No commits in common. "882ad6f7d151ad636b30e5e0f0af10fadb9ba963" and "5cdf018adf1c3521dc8ae7e31bbcb4cdf78ef0a6" have entirely different histories.

4 changed files with 18 additions and 7 deletions

View file

@ -1,4 +1,4 @@
FROM alpine:3.20
FROM alpine:3.19
#
# Install packages
RUN apk --no-cache -U add \
@ -21,8 +21,11 @@ RUN apk --no-cache -U add \
git clone https://github.com/0x4D31/fatt && \
cd fatt && \
git checkout c29e553514281e50781f86932b82337a5ada5640 && \
#git checkout 45cabf0b8b59162b99a1732d853efb01614563fe && \
#git checkout 314cd1ff7873b5a145a51ec4e85f6107828a2c79 && \
mkdir -p log && \
pip3 install --break-system-packages pyshark && \
# pyshark >= 0.4.3 breaks fatt
pip3 install --break-system-packages pyshark==0.4.2.11 && \
#
# Setup configs
chgrp fatt /usr/bin/dumpcap && \
@ -31,7 +34,7 @@ RUN apk --no-cache -U add \
#
# Clean up
apk del --purge git \
python3-dev && \
python3-dev && \
rm -rf /root/* \
/var/cache/apk/* \
/opt/fatt/.git

View file

@ -3,7 +3,7 @@ RUN <<EOF
apk -U add build-base git
mkdir -p /opt
cd /opt
git clone https://github.com/t3chn0m4g3/galah
git clone https://github.com/t3chn0m4g3/galah
EOF
WORKDIR /opt/galah
ENV CGO_ENABLED=1
@ -13,9 +13,17 @@ go build -o galah ./cmd/galah
EOF
#
FROM alpine:3.20
#
COPY --from=builder /opt/galah/ /opt/galah/
#
# Setup user, groups and configs
RUN <<EOF
apk -U add bash openssl
addgroup -g 2000 galah
adduser -S -s /bin/ash -u 2000 -D -g 2000 galah
EOF
#
# Start galah
WORKDIR /opt/galah
USER 2000:2000
USER galah:galah
CMD ["./entrypoint.sh"]

View file

@ -21,7 +21,7 @@ services:
environment:
LLM_PROVIDER: "ollama"
LLM_SERVER_URL: "http://ollama.local:11434"
LLM_MODEL: "llama3.1"
LLM_MODEL: "llama3"
# LLM_TEMPERATURE: ${GALAH_LLM_TEMPERATURE}
# LLM_API_KEY: ${GALAH_LLM_API_KEY}
# LLM_CLOUD_LOCATION: ${GALAH_LLM_CLOUD_LOCATION}

View file

@ -126,7 +126,7 @@ BEELZEBUB_OLLAMA_MODEL: "openchat"
# GALAH_LLM_CLOUD_PROJECT: ""
GALAH_LLM_PROVIDER: "ollama"
GALAH_LLM_SERVER_URL: "http://ollama.local:11434"
GALAH_LLM_MODEL: "llama3.1"
GALAH_LLM_MODEL: "llama3"
###################################################################################