Add Docker Compose spec
This commit is contained in:
1
CODEOWNERS
Normal file
1
CODEOWNERS
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* @luketainton
|
||||||
@@ -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
12
docker-compose.yml
Normal 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"
|
||||||
Reference in New Issue
Block a user