Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
hfpp2012
/
docker-for-discuz
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4bad341a
authored
Mar 01, 2017
by
terryshi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update
1 parent
bce7c74e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
README.md
discuz/Dockerfile
docker-compose.yml
README.md
View file @
4bad341
...
@@ -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 {
...
...
discuz/Dockerfile
View file @
4bad341
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
docker-compose.yml
View file @
4bad341
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment