Commit bce7c74e by terryshi

update

1 parent 820cab27
Showing 1000 changed files with 32 additions and 3 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# docker-for-discuz
docker-compose file for discuz
##Usage
```
docker-compose up -d
and visit localhost:port to install
```
##configuration
```
discuz/config/php.ini is for php
discuz/html is the source code and discuz configuration
```
```
in docker-compose.yml you can change
mysql configuration
port mapping
```
##use nginx as proxy
```
upstream your_domain_name {
server discuz_server_ip:port weight=10;
}
server
{
listen 80;
server_name your_domain_name;
}
```
FROM php:7.0-apache
RUN docker-php-ext-install -j$(nproc) curl gd mysql mbstring
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
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
No preview for this file type
File mode changed
File mode changed
No preview for this file type
File mode changed
File mode changed
File mode changed
File mode changed

116 Bytes | W: | H:

116 Bytes | W: | H:

discuz/html/install/images/bg_footer.gif
discuz/html/install/images/bg_footer.gif
discuz/html/install/images/bg_footer.gif
discuz/html/install/images/bg_footer.gif
  • 2-up
  • Swipe
  • Onion skin

4.89 KB | W: | H:

4.89 KB | W: | H:

discuz/html/install/images/bg_repno.gif
discuz/html/install/images/bg_repno.gif
discuz/html/install/images/bg_repno.gif
discuz/html/install/images/bg_repno.gif
  • 2-up
  • Swipe
  • Onion skin

546 Bytes | W: | H:

546 Bytes | W: | H:

discuz/html/install/images/bg_repx.gif
discuz/html/install/images/bg_repx.gif
discuz/html/install/images/bg_repx.gif
discuz/html/install/images/bg_repx.gif
  • 2-up
  • Swipe
  • Onion skin

259 Bytes | W: | H:

259 Bytes | W: | H:

discuz/html/install/images/bg_stepstatus.gif
discuz/html/install/images/bg_stepstatus.gif
discuz/html/install/images/bg_stepstatus.gif
discuz/html/install/images/bg_stepstatus.gif
  • 2-up
  • Swipe
  • Onion skin

76 Bytes | W: | H:

76 Bytes | W: | H:

discuz/html/install/images/close.gif
discuz/html/install/images/close.gif
discuz/html/install/images/close.gif
discuz/html/install/images/close.gif
  • 2-up
  • Swipe
  • Onion skin

2.57 KB | W: | H:

2.57 KB | W: | H:

discuz/html/install/images/stepnum.gif
discuz/html/install/images/stepnum.gif
discuz/html/install/images/stepnum.gif
discuz/html/install/images/stepnum.gif
  • 2-up
  • Swipe
  • Onion skin
......@@ -9,7 +9,7 @@
error_reporting(E_ERROR | E_WARNING | E_PARSE);
@set_time_limit(1000);
@set_magic_quotes_runtime(0);
@ini_set("magic_quotes_runtime",0);
define('IN_DISCUZ', TRUE);
define('IN_COMSENZ', TRUE);
......@@ -501,4 +501,4 @@ if($method == 'show_license') {
} else {
show_msg('tablepre_exists', $tablepre, 0);
}
}
\ No newline at end of file
}
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
File mode changed
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!