Commit 4bad341a by terryshi

update

1 parent bce7c74e
...@@ -18,6 +18,8 @@ mysql configuration ...@@ -18,6 +18,8 @@ mysql configuration
port mapping port mapping
``` ```
##make sure database host is mariadb
##use nginx as proxy ##use nginx as proxy
``` ```
upstream your_domain_name { upstream your_domain_name {
......
FROM php:7.0-apache FROM php:5.6-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 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: ...@@ -5,7 +5,6 @@ services:
build: discuz/ build: discuz/
volumes: volumes:
- ./discuz/html:/var/www/html - ./discuz/html:/var/www/html
- ./discuz/config:/usr/local/etc/php
ports: ports:
- "80:80" - "80:80"
networks: networks:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!