-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (46 loc) · 994 Bytes
/
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
version: '2'
services:
server:
build: ./docker/server
image: afnphpframework_web
ports:
- "6014:80"
- "4412:443"
volumes:
- ./app:/var/www/app
- ./config:/var/www/config
- ./library:/var/www/library
- ./resources:/var/www/resources
- ./routes:/var/www/routes
- ./scripts:/var/www/scripts
- ./storage:/var/www/storage
- ./temp:/var/www/temp
- ./www:/var/www/html
- ./mail/msmtprc:/etc/msmtprc
links:
- db
tty: true
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
- PMA_ARBITRARY=1
- PMA_HOST=172.18.0.3
- PMA_PORT=3306
- PMA_USER=root
- PMA_PASSWORD=test
restart: always
ports:
- 6016:80
links:
- "db:mysql"
tty: true
db:
image: mysql:5.6
ports:
- "3408:3306"
volumes:
- ./db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=test
- MYSQL_DATABASE=db_afntest
tty: true