-
Notifications
You must be signed in to change notification settings - Fork 0
/
lamp74.yml
39 lines (36 loc) · 880 Bytes
/
lamp74.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
version: '3.7'
services:
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: LEAMP74_phpmyadmin
restart: always
environment:
PMA_HOST: LEAMP74_mysql
links:
- database
ports:
- 9192:80
database:
image: mysql:5.7
container_name: LEAMP74_mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: 'toor'
volumes:
- './docker/db:/var/lib/mysql'
- './log/mysql/:/var/log/mysql/'
ports:
- 9193:3306
php:
build: ./docker/lamp74
container_name: LEAMP74_php
restart: always
environment:
XDEBUG_CONFIG: remote_host=host.docker.internal remote_port=9000 remote_enable=0
volumes:
- './src:/var/www/html'
- './log/apache2/:/var/log/apache2/'
links:
- database
ports:
- 80:80