test docker
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
examples
|
||||
1
docker/tests/php/DocRoot/index.php
Normal file
1
docker/tests/php/DocRoot/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php phpinfo(); ?>
|
||||
25
docker/tests/php/docker-compose.yml
Normal file
25
docker/tests/php/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: '3'
|
||||
services:
|
||||
php-apache:
|
||||
image: php:7.4-apache
|
||||
ports:
|
||||
- "8090:80"
|
||||
volumes:
|
||||
- "./DocRoot:/var/www/html"
|
||||
links:
|
||||
- 'mariadb'
|
||||
|
||||
mariadb:
|
||||
image: mariadb:10.1
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
environment:
|
||||
TZ: "America/Chicago"
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
|
||||
MYSQL_ROOT_PASSWORD: "8pwFrTUks-"
|
||||
MYSQL_USER: 'user0'
|
||||
MYSQL_PASSWORD: 'TCfQwfAJP!4*&cnV'
|
||||
MYSQL_DATABASE: 'prod'
|
||||
|
||||
volumes:
|
||||
db:
|
||||
Reference in New Issue
Block a user