2023-01-17 11:10:21 +03:00
|
|
|
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
|
2024-01-06 15:02:25 +03:00
|
|
|
|
|
|
|
baikal:
|
2024-12-19 21:53:34 +03:00
|
|
|
image: ckulka/baikal:0.10.1-apache
|
2024-01-06 15:02:25 +03:00
|
|
|
ports:
|
2024-04-26 13:23:52 +03:00
|
|
|
- "8100:80"
|
2024-01-06 15:02:25 +03:00
|
|
|
volumes:
|
2024-04-26 13:23:52 +03:00
|
|
|
- ./docker/baikal:/var/www/html
|
|
|
|
- ./docker/baikal/config:/var/www/baikal/config
|
|
|
|
- ./docker/baikal/data:/var/www/baikal/Specific
|
2024-05-12 20:39:59 +03:00
|
|
|
|
|
|
|
openldap:
|
|
|
|
image: osixia/openldap:1.5.0
|
|
|
|
hostname: openldap
|
|
|
|
ports:
|
|
|
|
- "389:389"
|
|
|
|
- "636:636"
|
|
|
|
volumes:
|
|
|
|
- ./docker/openldap/certificates:/container/service/slapd/assets/certs
|
|
|
|
- ./docker/openldap/slapd/database:/var/lib/ldap
|
|
|
|
- ./docker/openldap/slapd/config:/etc/ldap/slapd.d
|
|
|
|
environment:
|
|
|
|
- LDAP_ORGANISATION=example
|
|
|
|
- LDAP_DOMAIN=example.org
|
|
|
|
- LDAP_ADMIN_USERNAME=admin
|
|
|
|
- LDAP_ADMIN_PASSWORD=admin
|
|
|
|
- LDAP_CONFIG_PASSWORD=config_pass
|
|
|
|
- "LDAP_BASE_DN=dc=example,dc=org"
|
|
|
|
- LDAP_READONLY_USER=true
|
|
|
|
- LDAP_READONLY_USER_USERNAME=user
|
|
|
|
- LDAP_READONLY_USER_PASSWORD=password
|
|
|
|
|
|
|
|
phpldapadmin:
|
|
|
|
image: osixia/phpldapadmin:0.9.0
|
|
|
|
hostname: phpldapadmin
|
|
|
|
ports:
|
|
|
|
- "8200:80"
|
|
|
|
environment:
|
|
|
|
- PHPLDAPADMIN_LDAP_HOSTS=openldap
|
|
|
|
- PHPLDAPADMIN_HTTPS=false
|
|
|
|
depends_on:
|
|
|
|
- openldap
|
2024-04-26 13:23:52 +03:00
|
|
|
|