-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
33 lines (31 loc) · 1.02 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
###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: '3.1'
services:
mysql:
image: 'mysql:8.0'
working_dir: /app
volumes:
- '.:/app'
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=simple_payment_db
- MYSQL_USER=simple_payment
- MYSQL_PASSWORD=simple_payment
ports:
- '3306:3306'
webserver:
image: 'nginx:alpine'
working_dir: /app
volumes:
- '.:/app'
- './phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf'
ports:
- '8000:80'
php-fpm:
build: phpdocker/php-fpm
working_dir: /app
volumes:
- '.:/app'
- './phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/8.3/fpm/conf.d/99-overrides.ini'