Docker related files
This commit is contained in:
parent
242d71fc67
commit
94e17f57f3
|
@ -0,0 +1,10 @@
|
|||
.buildpath
|
||||
.gitignore
|
||||
.git
|
||||
.project
|
||||
|
||||
.DS_Store
|
||||
.SD_Store?
|
||||
.swp
|
||||
|
||||
config.php
|
|
@ -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
|
|
@ -1,27 +1,32 @@
|
|||
|
||||
phpVirtualBox is Copyright (C) 2015 Ian Moore (imoore76 at yahoo dot com)
|
||||
|
||||
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
|
||||
specified in an individual source file. By using this software, you are
|
||||
agreeing to the terms contained therein. If you have not received and read
|
||||
the license file, or do not agree with its conditions, please cease using
|
||||
this software immediately and remove any copies you may have in your
|
||||
possession.
|
||||
|
||||
INSTALLATION:
|
||||
|
||||
Rename config.php-example to config.php and edit as needed.
|
||||
|
||||
Default login is username: admin password: admin
|
||||
|
||||
Please see the wiki located at
|
||||
http://sourceforge.net/p/phpvirtualbox/wiki/Home/
|
||||
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.
|
||||
# About
|
||||
|
||||
phpVirtualBox is Copyright (C) 2015 Ian Moore (imoore76 at yahoo dot com)
|
||||
|
||||
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
|
||||
specified in an individual source file. By using this software, you are
|
||||
agreeing to the terms contained therein. If you have not received and read
|
||||
the license file, or do not agree with its conditions, please cease using
|
||||
this software immediately and remove any copies you may have in your
|
||||
possession.
|
||||
|
||||
# Installation from Zip file
|
||||
|
||||
1) Download zip file from sourceforge project site: https://sourceforge.net/projects/phpvirtualbox/
|
||||
|
||||
2) Rename config.php-example to config.php and edit as needed.
|
||||
|
||||
# Post installation
|
||||
|
||||
Default login is username: admin password: admin
|
||||
|
||||
Please see the wiki located at
|
||||
http://sourceforge.net/p/phpvirtualbox/wiki/Home/
|
||||
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.
|
|
@ -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
|
Loading…
Reference in New Issue