Commit 4bad341a by terryshi

update

1 parent bce7c74e
......@@ -18,6 +18,8 @@ mysql configuration
port mapping
```
##make sure database host is mariadb
##use nginx as proxy
```
upstream your_domain_name {
......
FROM php:7.0-apache
RUN apt-get update && apt-get install -y curl libcurl4-gnutls-dev libpng12-dev && docker-php-ext-install -j$(nproc) curl gd pdo pdo_mysql mbstring mysqli
FROM php:5.6-apache
COPY config/php.ini /usr/local/etc/php/
RUN apt-get update && apt-get install -y libpng12-dev && docker-php-ext-install -j$(nproc) gd mysqli
......@@ -5,7 +5,6 @@ services:
build: discuz/
volumes:
- ./discuz/html:/var/www/html
- ./discuz/config:/usr/local/etc/php
ports:
- "80:80"
networks:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!