https://github.com/zavalit/ipc15se
Containerize your php setup
https://github.com/zavalit/ipc15se
Last synced: 8 days ago
JSON representation
Containerize your php setup
- Host: GitHub
- URL: https://github.com/zavalit/ipc15se
- Owner: zavalit
- Created: 2015-06-08T10:31:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-05T07:15:11.000Z (over 10 years ago)
- Last Synced: 2025-07-16T11:42:15.721Z (7 months ago)
- Size: 141 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# An Example Docker setup for a silexphp
it was created just to show some running example for "Containerize your php setup" talk on IPC15se
### Prerequiements:
in order to get it run you need:
- vagrant
- ansible-playbook
### How-To
execute the following on your console:
$ git clone https://github.com/zavalit/ipc15se
$ cd ipc5se
$ vagrant up
# be pation, it can take a time
log you in
$ vagrant ssh
and let install all silexphp dependencies
$ docker exec opt_silexphp_1 /opt/devtools/composer.phar install
afterwords create an index.php in /opt/silexphp/.docker/app/public folder
then call http://10.20.1.11/ in your browser and see what you expect to see from your index.php
#### nice part: you have a php-7 docker image there, let it hacked:!