-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yml
72 lines (63 loc) · 1.37 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "3.6"
services:
mysql:
image: mysql:5.7.22
container_name: fradmin-mysql
volumes:
- ./mysql/srv/conf.d:/etc/mysql/conf.d
- ./mysql/srv/initdb.d:/docker-entrypoint-initdb.d
- ./mysql/srv/data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: password
restart: always
nginx:
image: nginx
container_name: fradmin-nginx
depends_on:
- mysql
- php
volumes:
- "./web/src:/var/www/html"
- "./web/conf.d:/etc/nginx/conf.d"
ports:
- "80:80"
restart: always
php:
build:
context: ./php
container_name: fradmin-php
restart: always
volumes:
- "./web/src:/var/www/html"
restart: always
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: fradmin-pma
depends_on:
- mysql
environment:
- PMA_HOST=mysql
- PMA_USER=root
- PMA_PASSWORD=password
ports:
- "9200:80"
radius:
image: freeradius/freeradius-server:3.0.17
container_name: fradmin-radius
depends_on:
- mysql
ports:
- "1812:1812"
- "1813:1813"
volumes:
- "./freeradius/config/freeradius:/etc/freeradius"
- "./freeradius/logs:/var/log/freeradius"
restart: always
#tty: true
radtest:
build: ./radtest
container_name: fradmin-radtest
depends_on:
- radius
restart: always
tty: true