Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit ac0d575

Browse files
authored
Merge pull request #10 from one-and-only/v0.6
v0.6
2 parents 312da48 + 6a2695b commit ac0d575

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed
File renamed without changes.

macos/Docker/docker-compose.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: "3.8"
2+
services:
3+
web:
4+
build:
5+
context: ./php
6+
dockerfile: Dockerfile
7+
container_name: php74
8+
depends_on:
9+
- database
10+
ports:
11+
- "80:80"
12+
volumes:
13+
- "./php:/var/www/html"
14+
database:
15+
command: "--default-authentication-plugin=mysql_native_password"
16+
container_name: mysql8
17+
environment:
18+
MYSQL_DATABASE: quizzane
19+
MYSQL_ROOT_PASSWORD: "root"
20+
MYSQL_USER: "quizzane"
21+
MYSQL_PASSWORD: "QFtdFZk2wC-c4skfJ?5#TPLrXyeZVTJ99=s*GEBVR_!XQ9B?_?NE+Dwc7pL!2fzb"
22+
image: "mysql:8.0.21"
23+
ports:
24+
- "6033:3306"
25+
restart: always

macos/Docker/php/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM php:7.4.9-apache
2+
RUN apt-get update && apt-get upgrade -y
3+
RUN apt-get install openssl curl zlib1g-dev enchant libsodium-dev libzip-dev bzip2 libcurl4-openssl-dev libssl-dev libpng-dev libgmp-dev libxml2-dev libenchant-dev libc-client2007e-dev libc-client-dev libkrb5-dev libonig-dev libedit-dev libtidy-dev libxslt-dev libgd-dev -y
4+
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl
5+
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
6+
RUN docker-php-ext-install bcmath calendar ctype curl enchant exif ffi ftp gd gmp iconv imap intl mbstring pcntl pdo pdo_mysql readline shmop soap sockets sodium sysvmsg sysvsem sysvshm tidy tokenizer xsl zip -j$(nproc)
7+
RUN ls /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
8+
RUN a2enmod rewrite
9+
EXPOSE 80

0 commit comments

Comments
 (0)