Old Docker Cleanup

This commit is contained in:
GamerClassN7 2020-10-21 19:14:35 +02:00
parent f4a5beeb7b
commit 2cbf6fbb23
3 changed files with 0 additions and 54 deletions

View File

@ -1,39 +0,0 @@
version: '3'
services:
php:
build:
context: ./docker/php
ports:
- 9000:9000
volumes:
- ./:/srv/www/api
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
environment:
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
apache2:
image: webdevops/apache:latest
args:
- PHP_SOCKET=php:9000
volumes:
- ./:/var/www/html
ports:
- 80:80
- 443:443
links:
- php
mysql:
image: mysql:5.7
ports:
- 3306:3306
depends_on:
- php
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}

View File

@ -1,3 +0,0 @@
FROM php:7.2-fpm
RUN docker-php-ext-install mysqli

View File

@ -1,12 +0,0 @@
[www]
user = www-data
group = www-data
listen = apache2:9000
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3