From 727f7a100d2752328b356d009f6e74513e4ba7cd Mon Sep 17 00:00:00 2001 From: kev Date: Sat, 16 Jan 2016 22:19:17 +0800 Subject: [PATCH] update discuz --- discuz/README.md | 33 +++++++++++++++++++++++++++++++-- discuz/docker-compose.yml | 16 ++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 discuz/docker-compose.yml diff --git a/discuz/README.md b/discuz/README.md index 63788fd..9a01803 100644 --- a/discuz/README.md +++ b/discuz/README.md @@ -3,8 +3,37 @@ discuz [Discuz!][1] is an internet forum software written in PHP and developed by a chinese company. -:warning: Discuz! is free of charge for private uses. A license that allows commercial use costs about ¥3000. +:-1: Discuz! is not a open source software. -Stable release: X3.2 (September 23, 2013; 2 years ago). +- Initial release: March 2002 +- Stable release: X3.2 (September 23, 2013; 2 years ago) +- License: proprietary (costs about ¥3000) + +:+1: Try open source softwares: + +- [discourse](https://hub.docker.com/r/discourse/discourse/) +- [nodebb](https://hub.docker.com/r/vimagick/phpbb/) +- [phpbb](https://hub.docker.com/r/vimagick/phpbb/) + +## docker-compose.yml + +``` +discuz: + image: vimagick/discuz + ports: + - "8000:80" + links: + - mysql + restart: always + +mysql: + image: mysql + environment: + - MYSQL_ROOT_PASSWORD=root + - MYSQL_DATABASE=discuz + - MYSQL_USER=discuz + - MYSQL_PASSWORD=discuz + restart: always +``` [1]: http://www.discuz.net diff --git a/discuz/docker-compose.yml b/discuz/docker-compose.yml new file mode 100644 index 0000000..60322f7 --- /dev/null +++ b/discuz/docker-compose.yml @@ -0,0 +1,16 @@ +discuz: + image: vimagick/discuz + ports: + - "8000:80" + links: + - mysql + restart: always + +mysql: + image: mysql + environment: + - MYSQL_ROOT_PASSWORD=root + - MYSQL_DATABASE=discuz + - MYSQL_USER=discuz + - MYSQL_PASSWORD=discuz + restart: always