Sign inSign up

cristo/wordpress

By cristo

Updated over 9 years ago

Added php7 tag if you need to work with new version of php

Image
0

2.0K

cristo/wordpress repository overview

#Create container

docker run -it -d --name=wordpress -h=wordpress -p 1000:80 -p 1001:22 cristo/wordpress /bin/bash

#MySQL

user: root 
password: root
db_name: wordpress

#SSH

ssh -p1001 root@localhost
password: root

#NGINX server config file for communicate with docker

server {
        listen *:80;
        server_name localhost;
        proxy_set_header Host localhost;
        client_max_body_size 100M;

                location / {
                                proxy_set_header Host $host;
                                proxy_set_header X-Real-IP $remote_addr;
                                proxy_cache off;
                                proxy_pass http://localhost:1000;
                        }
}

#Origin [Docker Hub] (https://registry.hub.docker.com/u/cristo/wordpress/)

[Git Hub] (https://github.com/monte-fm/wordpress)

Tag summary

Content type

Image

Digest

sha256:4dec4678d

Size

147.2 MB

Last updated

over 9 years ago

docker pull cristo/wordpress