Add Docker Compose spec

This commit is contained in:
Luke Tainton (ltainton)
2023-11-26 22:42:15 +00:00
parent ab890b76b7
commit d7ff1a20af
3 changed files with 14 additions and 0 deletions

1
CODEOWNERS Normal file
View File

@@ -0,0 +1 @@
* @luketainton

View File

@@ -1,5 +1,6 @@
FROM alpine:3.18 as build FROM alpine:3.18 as build
LABEL maintainer="Luke Tainton <luke@tainton.uk>" LABEL maintainer="Luke Tainton <luke@tainton.uk>"
LABEL org.opencontainers.image.source="https://github.com/luketainton/docker-radius"
FROM build as webproc FROM build as webproc
ENV WEBPROCVERSION 0.4.0 ENV WEBPROCVERSION 0.4.0

12
docker-compose.yml Normal file
View File

@@ -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"