2023-01-17 11:10:21 +03:00
|
|
|
version: '3.1'
|
|
|
|
services:
|
|
|
|
php-fpm:
|
|
|
|
build: docker/php-fpm
|
|
|
|
working_dir: /var/www/html
|
|
|
|
extra_hosts:
|
|
|
|
- host.docker.internal:host-gateway
|
|
|
|
volumes:
|
|
|
|
- '.:/var/www/html'
|
2023-01-21 14:41:05 +03:00
|
|
|
- './docker/php-fpm/php-ini-overrides.ini:/usr/local/etc/php/conf.d/99-overrides.ini'
|
2023-08-09 10:25:35 +03:00
|
|
|
|
2023-01-21 14:41:05 +03:00
|
|
|
nginx:
|
|
|
|
image: 'nginx:1.23.3-alpine'
|
2023-01-17 11:10:21 +03:00
|
|
|
working_dir: /var/www/html
|
|
|
|
volumes:
|
|
|
|
- '.:/var/www/html'
|
|
|
|
- './docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf'
|
|
|
|
ports:
|
2023-07-08 08:21:16 +03:00
|
|
|
- '80:80'
|
2023-08-09 10:25:35 +03:00
|
|
|
|
2023-01-17 11:10:21 +03:00
|
|
|
mysql:
|
|
|
|
image: 'mysql:8.0'
|
|
|
|
volumes:
|
|
|
|
- './docker/mysql:/var/lib/mysql'
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=secret
|
|
|
|
- MYSQL_DATABASE=easyappointments
|
2023-07-08 08:21:16 +03:00
|
|
|
- MYSQL_USER=user
|
|
|
|
- MYSQL_PASSWORD=password
|
2023-01-17 11:10:21 +03:00
|
|
|
ports:
|
2023-07-08 08:21:16 +03:00
|
|
|
- '3306:3306'
|
2023-08-09 10:25:35 +03:00
|
|
|
|
2023-01-17 11:10:21 +03:00
|
|
|
phpmyadmin:
|
2023-07-05 18:40:22 +03:00
|
|
|
image: 'phpmyadmin:5.2.1'
|
2023-01-17 11:10:21 +03:00
|
|
|
ports:
|
2023-07-08 08:21:16 +03:00
|
|
|
- '8080:80'
|
2023-01-17 11:10:21 +03:00
|
|
|
environment:
|
2023-01-25 10:48:44 +03:00
|
|
|
- 'PMA_HOST=mysql'
|
2023-08-09 10:25:35 +03:00
|
|
|
- 'UPLOAD_LIMIT=102400K'
|
|
|
|
|
2023-07-08 08:21:16 +03:00
|
|
|
mailpit:
|
|
|
|
image: 'axllent/mailpit:v1.7'
|
2023-01-17 11:10:21 +03:00
|
|
|
ports:
|
2023-07-08 08:21:16 +03:00
|
|
|
- '8025:8025'
|
2023-01-25 10:48:44 +03:00
|
|
|
- '1025:1025'
|
2023-08-09 10:25:35 +03:00
|
|
|
|
2023-08-01 23:08:55 +03:00
|
|
|
swagger-ui:
|
|
|
|
platform: linux/amd64
|
2024-01-05 19:38:50 +03:00
|
|
|
image: swaggerapi/swagger-ui:v5.10.5
|
2023-08-01 23:08:55 +03:00
|
|
|
ports:
|
|
|
|
- "8000:8080"
|
|
|
|
volumes:
|
|
|
|
- ./openapi.yml:/usr/share/nginx/html/openapi.yml
|
|
|
|
environment:
|
|
|
|
API_URL: openapi.yml
|