WebObjects docker image
WebObjects docker image
- Subject: WebObjects docker image
- From: Alexis Tual <email@hidden>
- Date: Sun, 30 Aug 2015 22:19:38 +0200
Hi list,
just sharing a Docker image I made recently to easely test WOAs without having to install adaptor, wotaskd and javamonitor.
You can view the how-to there :
https://hub.docker.com/r/alextu/wofull/Basically, install Docker, and run :
docker run -ti --rm -p 80:80 -p 56789:56789 -v $HOME/wodocker/apps:/mywoapps -v $HOME/wodocker/conf:/opt/Local/Library/WebObjects/Configuration -v $HOME/wodocker/htdocs:/usr/local/apache2/htdocs/WebObjects -v $HOME/wodocker/logs:/var/log/WebObjects alextu/wofullYou'll then have a fresh JavaMonitor on
http://hostip:56789.
Here's the Dockerfile if you want to tweak and build the image yourself :
https://github.com/alextu/wodocker/blob/master/DockerfileI would not use this in production, instead I would use one tiny container by woa instance and one nginx container to load balance. I'll try to set a proof of concept to illustrate this, this is rather easy to configure static loadbalancing with docker-compose (however it seems hard but doable to have dynamic load balacing ie add new containers on the fly)
Cheers,
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden