Create Docker image (fixes #5) #10

Merged
luca0N merged 10 commits from dev_docker into dev 2025-11-17 21:06:02 +00:00
Owner

Add a new Dockerfile for the Knock2 server. At this time, it expects an installation of libknock2 version 0.0.1 in the libknock2
subdirectory. Since this Docker image is based on Alpine Linux, libknock2 must be compiled for musl instead of glibc.

  • [41bb15f12a] Server Dockerfile
  • [55fe2e6cc2] Client Dockerfile (web app)
  • [3160e8ec08] Docker Compose YAML
  • [21b14c8335] Allow server options from environment variables (like the interface name used by -iface in the knock2-server)
Add a new Dockerfile for the Knock<sup>2</sup> server. At this time, it expects an installation of libknock2 version 0.0.1 in the `libknock2` subdirectory. Since this Docker image is based on Alpine Linux, libknock2 must be compiled for musl instead of glibc. - [x] [41bb15f12a] Server Dockerfile - [x] [55fe2e6cc2] Client Dockerfile (web app) - [x] [3160e8ec08] Docker Compose YAML - [x] [21b14c8335] Allow server options from environment variables (like the interface name used by `-iface` in the knock2-server)
luca0N self-assigned this 2025-11-14 18:11:58 +00:00
Add a new Dockerfile for the Knock^2 server.  At this time, it expects
an installation of libknock2 version 0.0.1 in the `libknock2'
subdirectory.  Since this Docker image is based on Alpine Linux,
libknock2 must be compiled for musl instead of glibc.
luca0N changed title from Create Docker image to Create Docker image (fixes #5) 2025-11-14 18:12:42 +00:00
Fix the subproject name in the Dockerfile license header.
In the Knock^2 server, add support for specifying the desired interface
name via the `KNOCK2_INTERFACE' environment variable.  This will be used
during container creation with Docker.
Add missing `knock2' subdirectory when installing the libknock2
`analyze.h' header.
In the Knock^2 server, add support for overridding the formerly
hardcoded HTTP server host and port values via the `KNOCK2_LISTEN_HOST'
and `KNOCK2_LISTEN_PORT' environment variables.
Add Dockerfile for the Knock^2 client, based on the Apache HTTP server
Docker image from the Docker community.
Instead of bundling the app configurations during compile time via a
TypeScript `import', load it dynamically with the `fetch' API.  This
allows changing the WebSocket server options, including the host, port,
and whether TLS should be used.
Add a Docker Compose file for the Knock^2 project, which contains
containers for both the web app and the server.
Add the client configuration file.  This file must be deployed along
with the built app bundle in order to tell the web app client where to
connect.  At this time, the only options available are related to the
Knock^2 WebSocket server.
Author
Owner

Commit bd0671eab2 has also fixed some mismatched indentation levels.

Commit bd0671eab2 has also fixed some mismatched indentation levels.
Move contents from missing extra Apache configuration file to the client
Dockerfile. This is done by echoing its contents directly to the
filesystem.
luca0N deleted branch dev_docker 2025-11-17 21:06:03 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#5 Create Docker image
luca0N/lanbassador
Reference
luca0N/lanbassador!10
No description provided.