forked from goofball222/freeradius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
32 lines (31 loc) · 868 Bytes
/
compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
version: "3"
services:
freeradius:
image: freeradius
container_name: freeradius
user: "freerad:freerad"
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- RADIUSD_OPTS=-xx # Enable this for FreeRadius extra log verbosity/degub
- RADIUSD_OPTS=-X # Enable for DEBUG
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/copek/docker/freeradius/config/:/freeradius/config
- /home/copek/docker/freeradius/logs:/freeradius/log
- /home/copek/docker/freeradius/dictionaries:/freeradius/share
ports:
- 1812:1812/udp
- 18121:18121/udp
- 1813:1813/udp
restart: unless-stopped
freeradius-test:
image: freeradius
container_name: freeradius-test
depends_on:
- freeradius
links:
- freeradius
command: "radtest bob hello freeradius 0 SECRET"