2020-03-23 15:12:07 +03:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
bitrix:
|
2023-01-26 13:49:36 +03:00
|
|
|
container_name: app_test
|
2020-03-23 15:12:07 +03:00
|
|
|
build: ./.docker
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
|
|
|
- MYSQL_SERVER=${DB_BITRIX_HOST}
|
|
|
|
- MYSQL_DATABASE=${DB_BITRIX_NAME}
|
|
|
|
- MYSQL_USER=${DB_BITRIX_LOGIN}
|
|
|
|
- MYSQL_PASSWORD=${DB_BITRIX_PASS}
|
|
|
|
- BITRIX_PATH=${BITRIX_PATH}
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
ports:
|
|
|
|
- '8080:80'
|
|
|
|
links:
|
|
|
|
- mysql
|
|
|
|
volumes:
|
|
|
|
- ./:/bitrix-module
|
|
|
|
- ./.docker/php.ini:/usr/local/etc/php/conf.d/z-bitrix.ini
|
2022-07-20 12:46:32 +03:00
|
|
|
- ./tmp:/tmp
|
2020-03-23 15:12:07 +03:00
|
|
|
mysql:
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
image: mysql:5.6
|
|
|
|
ports:
|
|
|
|
- '3306:3306'
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=root
|
|
|
|
- MYSQL_DATABASE=${DB_BITRIX_NAME}
|
|
|
|
- MYSQL_USER=${DB_BITRIX_LOGIN}
|
|
|
|
- MYSQL_PASSWORD=${DB_BITRIX_PASS}
|