Public | Automated Build

Last pushed: 2 years ago
Short Description
CentOS 6.6 Oxwall 1.7.1 Social Media Server Container - 468.2 MB
Full Description

CentOS 6.6 Oxwall 1.7.1 Social Media Server Container - 468.2 MB

Oxwall CentOS 6.6 Container Build

Built from appcontainers/centos66

Build container using default values.

docker build -t appcontainers/oxwall .

Running the container

The container is built to allow several configurable variables to be passed in at runtime. The values are as follows:

  • APP_NAME - This is the fully qualified domain name such as example.com. This should be passed without any prefix such as www.
  • APACHE_SVRALIAS - This is exactly what it sounds like, the apache file ServerAlias Directive data.
  • MYSQL_SERVER - This is the Host server that runs the MySQL instance where the Application DB will be stored.
  • MYSQL_PASS - This will set the MySQL Root Password.
  • MYSQL_DB - The name of the MySQL DB that the Application will use.
  • APP_USER - The username that the Application will use in order to connect to the MySQL DB.
  • APP_PASS - The password of the user that the Application uses to connect to the MySQL DB.

Run the container using default values

docker run -d -it --name oxwall -h oxwall -p 80:80 appcontainers/oxwall

This will assume the following

  • APP_NAME = oxwall.local
  • APACHE_SVRALIAS = www.oxwall.local localhost
  • MYSQL_SERVER = localhost
  • MYSQL_PASS = P@ssw0rd
  • MYSQL_DB = oxwall
  • APP_USER = admin
  • APP_PASS = P@ssw0rd

Run the container substituting the $varables with your own custom values

docker run -d -it \
--name oxwall \
-h oxwall \
-p 80:80 \
-e APP_NAME='testapp.com' \
-e APACHE_SVRALIAS='www.testapp.com localhost' \
-e MYSQL_SERVER='localhost' \
-e MYSQL_PASS='P@ssw0rd' \
-e MYSQL_DB='testapp' \
-e APP_USER='admin' \
-e APP_PASS='P@ssw0rd' \
appcontainers/oxwall

Navigate to the IP address of the server on the port specified (80 default) to access the Oxwall Installer

Use the following to clean up any user data in the case that the user was a spammer

Select id, user, email from `ow_base_user`;

DELETE FROM `ow_mailbox_message` WHERE `senderId`=23;
DELETE FROM `ow_ajaxim_message` WHERE `from`=23;
DELETE FROM `ow_base_component_entity_setting` WHERE `entityId`=23;
DELETE FROM `ow_base_component_place_cache` WHERE `entityId`=23;
DELETE FROM `ow_forum_post` WHERE `userId`=23;
DELETE FROM `ow_base_comment` WHERE `userId`=23;
DELETE FROM `ow_blogs_post` WHERE `authorId`=23;
DELETE FROM `ow_groups_group` WHERE `userId`=23;

DELETE FROM `ow_base_tag` WHERE id BETWEEN 22 and 677;
Docker Pull Command
Owner
appcontainers
Source Repository