Skip to content

Commit 94e17f5

Browse files
committed
Docker related files
1 parent 242d71f commit 94e17f5

File tree

4 files changed

+67
-27
lines changed

4 files changed

+67
-27
lines changed

.dockerignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.buildpath
2+
.gitignore
3+
.git
4+
.project
5+
6+
.DS_Store
7+
.SD_Store?
8+
.swp
9+
10+
config.php

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM php:5.6-apache
2+
RUN apt-get update && \
3+
apt-get install -y \
4+
libxml2 \
5+
libxml2-dev && \
6+
docker-php-ext-install soap
7+
COPY . /var/www/html
Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
1-
2-
phpVirtualBox is Copyright (C) 2015 Ian Moore (imoore76 at yahoo dot com)
3-
4-
FREE, WITHOUT WARRANTY:
5-
6-
All files of this program (phpVirtualBox) are distributed under the
7-
terms contained in the LICENSE.txt file in this folder unless otherwise
8-
specified in an individual source file. By using this software, you are
9-
agreeing to the terms contained therein. If you have not received and read
10-
the license file, or do not agree with its conditions, please cease using
11-
this software immediately and remove any copies you may have in your
12-
possession.
13-
14-
INSTALLATION:
15-
16-
Rename config.php-example to config.php and edit as needed.
17-
18-
Default login is username: admin password: admin
19-
20-
Please see the wiki located at
21-
http://sourceforge.net/p/phpvirtualbox/wiki/Home/
22-
for detailed installation and configuration instructions.
23-
24-
PASSWORD RECOVERY:
25-
26-
Rename the file recovery.php-disabled to recovery.php, navigate to it in
27-
your web browser, and follow the instructions presented.
1+
# About
2+
3+
phpVirtualBox is Copyright (C) 2015 Ian Moore (imoore76 at yahoo dot com)
4+
5+
FREE, WITHOUT WARRANTY:
6+
7+
All files of this program (phpVirtualBox) are distributed under the
8+
terms contained in the LICENSE.txt file in this folder unless otherwise
9+
specified in an individual source file. By using this software, you are
10+
agreeing to the terms contained therein. If you have not received and read
11+
the license file, or do not agree with its conditions, please cease using
12+
this software immediately and remove any copies you may have in your
13+
possession.
14+
15+
# Installation from Zip file
16+
17+
1) Download zip file from sourceforge project site: https://sourceforge.net/projects/phpvirtualbox/
18+
19+
2) Rename config.php-example to config.php and edit as needed.
20+
21+
# Post installation
22+
23+
Default login is username: admin password: admin
24+
25+
Please see the wiki located at
26+
http://sourceforge.net/p/phpvirtualbox/wiki/Home/
27+
for detailed installation and configuration instructions.
28+
29+
# Password Recovery
30+
31+
Rename the file recovery.php-disabled to recovery.php, navigate to it in
32+
your web browser, and follow the instructions presented.

docker-compose.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Develop phpvirtualbox in docker
2+
#
3+
# 1) Get virtualbox host-only interface IP used by docker machine:
4+
# docker-machine inspect default -f '{{.Driver.HostOnlyCIDR}}' | sed -e 's#/.*##'
5+
# 2) Start vboxwebsrv on the IP returned from the above command:
6+
# vboxwebsrv -H 192.168.99.1 # or edit vboxwebsrv startup config
7+
# 3) Edit config.php to use the IP
8+
# 4) docker-compose up
9+
# 5) Get docker machine ip:
10+
# docker-machine ip default
11+
# 6) phpVirtualBox should be available at http://<ip returned from above command>
12+
#
13+
phpvirtualbox:
14+
build: .
15+
ports:
16+
- "80:80"
17+
volumes:
18+
- .:/var/www/html

0 commit comments

Comments
 (0)