MySphere Posts

Docker containers are like magic.  You can create a wodpress instance in minutes.

Today i create a docker-compose.yml file for a WordPress inance.

Just create the file with the commands bellow and you will get a WordPress site.  You will not loose the customizations because they are saved on the host machine.

Create the folders /wp-content and wp-content/uploads  bellow the folder that contains docker-compose.yml. I test this instance only on my Mac for development.

version: ‘3’

services:
db:
image: mysql:5.7
volumes:
– db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: password

wordpress:
depends_on:
– db
image: wordpress:latest
volumes:
– ./wp-content/uploads:/var/www/html/wp-content/uploads
– ./wp-content:/var/www/html/wp-content
ports:
– “8000:80”
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: password
volumes:
db_data:

docker

Yesterday i was working with some Dockerfiles and visual code tell about an externsion for Docker.

VS Code understands the structure of Dockerfiles and instructions

For more information go to this link

docker

 

This is a good book from packt publishing.  Get your book here

 

 

 

 

 

 

 

 

docker

In the last month I was researching how to install WebSphere Portal 8.5 in a container (Docker). Due to my commitments couldn’t finish the installation.

Today I found an article that makes the installation WebSphere Portal 9 using a container.

See the full article here

Get the DockerFiles on github -> https://github.com/digexp/ci.docker.websphere-portal

docker WebSphere Portal

In a world full of API’s and JSON this is a nice tool.

JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool.

web

XML external entity (XXE) security vulnerabilities in Apache FOP and Apache Batik affect IBM WebSphere Portal.

Apache FOP could allow a remote authenticated attacker to obtain sensitive information, caused by an XML external entity (XXE) error when processing XML data. By using a specially-crafted SVG file. A remote attacker could exploit this vulnerability to obtain sensitive information or possibly cause a denial of service.

Read the security buletin here

WebSphere Portal

There are several ways to parse JSON with java.

I am working on a project with IBM Watson Conversation and Discovery and we need to creat a parser for JSON objects when we crawl an endpoint.

I found this site -> http://www.jsonschema2pojo.org/.  There you only need your JSON object or SCHEMA to genereate the classes.

 

java

The webinar was driven by a common scenario: A sysadmin is sitting at her desk minding her own business when a developer walks in and says “here’s the the new app, it’s in a Docker image. Please deploy it ASAP”. This session is designed to help provides some guidance on how sysadmins should think about managing Dockerized applications in production.

 

docker

Uncategorized

Compliments from IBM.

Link to the book : https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=XIM12354USEN

Uncategorized