From d7ff1a20af7cfee06208f74598e0e828399cd604 Mon Sep 17 00:00:00 2001 From: "Luke Tainton (ltainton)" Date: Sun, 26 Nov 2023 22:42:15 +0000 Subject: [PATCH] Add Docker Compose spec --- CODEOWNERS | 1 + Dockerfile | 1 + docker-compose.yml | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 CODEOWNERS create mode 100644 docker-compose.yml diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..0d35f6e --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @luketainton \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 0fc1aa8..8c49045 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM alpine:3.18 as build LABEL maintainer="Luke Tainton " +LABEL org.opencontainers.image.source="https://github.com/luketainton/docker-radius" FROM build as webproc ENV WEBPROCVERSION 0.4.0 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..24ca7bf --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: "3" +services: + app: + image: "ghcr.io/luketainton/docker-radius:latest" + restart: "unless-stopped" + volumes: + - "./clients.conf:/etc/raddb/clients.conf" + - "./users:/etc/raddb/users" + - "./radiusd.conf:/etc/raddb/radiusd.conf" + ports: + - "1812:1812/udp" + - "18080:8080/tcp"