-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (55 loc) · 1.36 KB
/
docker-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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: "3"
services:
radius:
image: frauhottelmann/daloradius-docker:1
container_name: radius
restart: always
depends_on:
- "radius-mysql"
ports:
- '1812:1812/udp'
- '1813:1813/udp'
- '80:80'
environment:
- MYSQL_HOST=radius-mysql
- MYSQL_PORT=3306
- MYSQL_DATABASE=radius
- MYSQL_USER=radius
- MYSQL_PASSWORD=userpass
volumes:
- ./etc/clients.conf:/etc/freeradius/3.0/clients.conf
radius-mysql:
image: mariadb:10.3
container_name: radius-mysql
restart: always
environment:
- MYSQL_DATABASE=radius
- MYSQL_USER=radius
- MYSQL_PASSWORD=userpass
- MYSQL_ROOT_PASSWORD=rootpass
volumes:
- "./radius-mysql:/var/lib/mysql"
phpmyadmin:
depends_on:
- radius-mysql
image: phpmyadmin/phpmyadmin
restart: always
ports:
- '8080:80'
environment:
PMA_HOST: radius-mysql
MYSQL_ROOT_PASSWORD: rootpass
pptpd:
depends_on:
- "radius"
image: srgazh/pptpd:latest
container_name: pptpd
volumes:
- ./etc/pptpd.conf:/etc/pptpd.conf
- ./etc/ppp/pptpd-options:/etc/ppp/pptpd-options
- ./etc/radiusclient.conf:/etc/radiusclient/radiusclient.conf
- ./etc/servers:/etc/radiusclient/servers
- ./log:/var/log
network_mode: "host"
privileged: true
restart: always