Install
You can download RapidForge binaries from the Releases page. If you need binaries for other platforms, feel free to contact us.
RapidForge is free to use and requires no external dependencies. You can either run the binary directly or use a Docker image. For internal purposes, we use the following Docker image, but you’re free to use any image that includes the tools you need.
FROM debian:latest
# sqlite3 is required if you want Key-Value store to work
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
jq \
sqlite3 \
tar \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Fetch the latest version dynamically from GitHub
ARG ARCH="x86_64"
ARG PLATFORM="Linux"
ARG BINARY_NAME="rapidforge"
RUN VERSION=$(curl -s https://api.github.com/repos/rapidforge-io/release/releases/latest | jq -r '.tag_name') && \
TARBALL="${BINARY_NAME}_${PLATFORM}_${ARCH}.tar.gz" && \
curl -L "https://github.com/rapidforge-io/release/releases/download/${VERSION}/${TARBALL}" -o ${TARBALL} && \
tar -xzvf ${TARBALL} && \
chmod +x ${BINARY_NAME} && \
rm ${TARBALL}
ARG PORT=8080
ENV RF_PORT=$PORT
EXPOSE ${PORT}
CMD ["./rapidforge"]
Configuration
RapidForge is minimally configured software. When RapidForge is ran for the first time it will create username and password for admin user. This will be printed out in logs only for the first time. After that its high recommended to change the password. RapidForge allows user to retrying login only for 5 times. After that user will be forced out of the system. In order to gain access user needs to contact with another admin to restart retries vai user panel.
Environment Variable | Default Value | Description |
---|---|---|
RF_DATABASE_URL |
rapidforge.sqlite3 |
Database URL |
RF_KV_URL |
None | Key-Value store URL |
RF_DOMAIN |
localhost |
Domain name |
RF_PORT |
:4000 |
Port number |
TLS_CERT |
None | PEM-encoded certificate data |
RF_TERM |
None | Enable web terminal for admin |
Update
You can use the ./rapidforge binary to manage and update RapidForge. Run ./rapidforge --help to view all available commands.
To update RapidForge to the latest version, use:
./rapidforge update
This command will automatically download the latest version and back up your existing installation.
Note that the update process does not start the new version automatically, since your system configuration may vary. It’s up to your operations team to decide how to start the new version.