Skip to content

120318/NexusPHP-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NexusPHP-Docker

NexusPHP的php5.6版本的docker运行环境
Nginx+PHP5.6+Memcached+phpmyadmin+MarialDB+NexusPHP1.5

用法

基本使用

  1. 启动docker容器
docker run -d --name=nexusphp -p 80:80  dearjoey/nexusphp
  1. 访问 http:https://localhost/login.php 登录即可。(账户名: staff 密码: 123456)

如果你想修改数据库 访问 phpmyadmin

参数

参数 功能
-p 80 NexusPHP和phpmyadmin的访问端口
-p 3306 mysql(mariadb)的访问端口
-v /config nginx, php, memcached, marialdb的配置和日志文件夹
-v /var/lib/mysql mysql(mariadb)数据保存位置
-v /NexusPHP NexusPHP源码保存位置

配置

数据库初始用户名密码

username: root
password: nexusphprocks
db: nexusphp

所使用的NexusPHP源码

https://sourceforge.net/projects/nexusphp/

其他

  1. 如果你有自己其他版本的NexusPHP,不想使用容器内的NexusPHP源码,可以通过映射/NexusPHP目录实现,比如按照如下命令启动
docker run -d --name=nexusphp -p 80:80 -v <your nexusphp path>:/NexusPHP dearjoey/nexusphp

About

NexusPHP5.6版本的Docker运行环境

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages