-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) 路 1011 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (39 loc) 路 1011 Bytes
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
services:
php-fpm:
build: docker/php-fpm
working_dir: /var/www/html
extra_hosts:
- host.docker.internal:host-gateway
volumes:
- '.:/var/www/html'
- './docker/php-fpm/php-ini-overrides.ini:/usr/local/etc/php/conf.d/99-overrides.ini'
nginx:
image: 'nginx:1.23.3-alpine'
working_dir: /var/www/html
volumes:
- '.:/var/www/html'
- './docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf'
ports:
- '${NGINX_PORT}:80'
mysql:
image: 'mysql:8.0'
volumes:
- './docker/mysql:/var/lib/mysql'
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=plainpad
- MYSQL_USER=user
- MYSQL_PASSWORD=password
ports:
- '${MYSQL_PORT}:3306'
phpmyadmin:
image: 'phpmyadmin:5.2.1'
ports:
- '${PHPMYADMIN_PORT}:80'
environment:
- 'PMA_HOST=mysql'
mailpit:
image: 'axllent/mailpit:v1.7'
ports:
- '${MAILPIT_HTTP_PORT}:8025'
- '${MAILPIT_SMTP_PORT}:1025'