-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·44 lines (44 loc) · 1.12 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
version: '3.8'
services:
nginx:
container_name: vpp_nginx
image: nginx:latest
restart: always
expose:
- "80"
volumes:
- /var/zztop/vouprapraia/html:/var/www/html
- /var/zztop/vouprapraia/logs:/var/log/nginx/
- /var/zztop/vouprapraia/config:/etc/nginx/conf.d/
depends_on:
- php-fpm
- mysql
php-fpm:
container_name: vpp_phpfpm
image: php:7.4-fpm
expose:
- "9000"
restart: always
volumes:
- /var/zztop/vouprapraia/html:/var/www/html
mysql:
container_name: vpp_mysql
image: mysql:latest
expose:
- "3306"
restart: always
volumes:
- /var/zztop/vouprapraia/mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
phpmyadmin:
container_name: vpp_phpmyadmin
image: phpmyadmin
ports:
- "8888:80"
restart: always
depends_on:
- mysql
environment:
PMA_ARBITRARY: 1
PMA_HOST: mysql