Docker related files

This commit is contained in:
Ian Moore 2015-12-02 08:45:23 -05:00
parent 242d71fc67
commit 94e17f57f3
4 changed files with 67 additions and 27 deletions

10
.dockerignore Normal file
View File

@ -0,0 +1,10 @@
.buildpath
.gitignore
.git
.project
.DS_Store
.SD_Store?
.swp
config.php

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM php:5.6-apache
RUN apt-get update && \
apt-get install -y \
libxml2 \
libxml2-dev && \
docker-php-ext-install soap
COPY . /var/www/html

View File

@ -1,27 +1,32 @@
# About
phpVirtualBox is Copyright (C) 2015 Ian Moore (imoore76 at yahoo dot com)
phpVirtualBox is Copyright (C) 2015 Ian Moore (imoore76 at yahoo dot com)
FREE, WITHOUT WARRANTY:
FREE, WITHOUT WARRANTY:
All files of this program (phpVirtualBox) are distributed under the
terms contained in the LICENSE.txt file in this folder unless otherwise All files of this program (phpVirtualBox) are distributed under the
specified in an individual source file. By using this software, you are terms contained in the LICENSE.txt file in this folder unless otherwise
agreeing to the terms contained therein. If you have not received and read specified in an individual source file. By using this software, you are
the license file, or do not agree with its conditions, please cease using agreeing to the terms contained therein. If you have not received and read
this software immediately and remove any copies you may have in your the license file, or do not agree with its conditions, please cease using
possession. this software immediately and remove any copies you may have in your
possession.
INSTALLATION:
# Installation from Zip file
Rename config.php-example to config.php and edit as needed.
1) Download zip file from sourceforge project site: https://sourceforge.net/projects/phpvirtualbox/
Default login is username: admin password: admin
2) Rename config.php-example to config.php and edit as needed.
Please see the wiki located at
http://sourceforge.net/p/phpvirtualbox/wiki/Home/ # Post installation
for detailed installation and configuration instructions.
Default login is username: admin password: admin
PASSWORD RECOVERY:
Please see the wiki located at
Rename the file recovery.php-disabled to recovery.php, navigate to it in http://sourceforge.net/p/phpvirtualbox/wiki/Home/
your web browser, and follow the instructions presented. for detailed installation and configuration instructions.
# Password Recovery
Rename the file recovery.php-disabled to recovery.php, navigate to it in
your web browser, and follow the instructions presented.

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
# Develop phpvirtualbox in docker
#
# 1) Get virtualbox host-only interface IP used by docker machine:
# docker-machine inspect default -f '{{.Driver.HostOnlyCIDR}}' | sed -e 's#/.*##'
# 2) Start vboxwebsrv on the IP returned from the above command:
# vboxwebsrv -H 192.168.99.1 # or edit vboxwebsrv startup config
# 3) Edit config.php to use the IP
# 4) docker-compose up
# 5) Get docker machine ip:
# docker-machine ip default
# 6) phpVirtualBox should be available at http://<ip returned from above command>
#
phpvirtualbox:
build: .
ports:
- "80:80"
volumes:
- .:/var/www/html