-
-
Save daohoangson/6f3068cc80e6caa29e8525f326d83ce3 to your computer and use it in GitHub Desktop.
Xfrocks/Api on PHP 5.6.34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.3' | |
services: | |
php: | |
build: | |
context: . | |
links: | |
- mysql | |
ports: | |
- '80:80' | |
volumes: | |
- ./xenforo:/var/www/html | |
mysql: | |
image: mysql:5.7.23 | |
environment: | |
MYSQL_DATABASE: xenforo2 | |
MYSQL_ROOT_PASSWORD: root | |
ports: | |
- '3306:3306' | |
volumes: | |
- .data/mysql:/var/lib/mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:5.6.34-apache | |
RUN apt-get update && apt-get install --no-install-recommends -y mysql-client | |
RUN docker-php-ext-install mysqli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment