diff options
author | Ian Moore <imoore76@yahoo.com> | 2015-12-02 08:45:23 -0500 |
---|---|---|
committer | Ian Moore <imoore76@yahoo.com> | 2015-12-02 08:45:23 -0500 |
commit | 94e17f57f3f16628f140cdd5fd5ca00806ca208f (patch) | |
tree | c20c59230818ed3400787e4ead6181b403f77f5c | |
parent | 242d71fc6756d83f7b0bfe4669ad25536c416975 (diff) | |
download | phpvirtualbox-94e17f57f3f16628f140cdd5fd5ca00806ca208f.zip phpvirtualbox-94e17f57f3f16628f140cdd5fd5ca00806ca208f.tar.gz phpvirtualbox-94e17f57f3f16628f140cdd5fd5ca00806ca208f.tar.bz2 |
Docker related files
-rw-r--r-- | .dockerignore | 10 | ||||
-rw-r--r-- | Dockerfile | 7 | ||||
-rw-r--r-- | README.md (renamed from README.txt) | 59 | ||||
-rw-r--r-- | docker-compose.yml | 18 |
4 files changed, 67 insertions, 27 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..2396d41 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,10 @@ +.buildpath +.gitignore +.git +.project + +.DS_Store +.SD_Store? +.swp + +config.php
\ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d5c62e7 --- /dev/null +++ b/Dockerfile @@ -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
\ No newline at end of file @@ -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. diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3dd74bd --- /dev/null +++ b/docker-compose.yml @@ -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
\ No newline at end of file |