Public Repository

Last pushed: a year ago
Short Description
base image for resin webapps
Full Description

With this image all you need is to copy the war file
into the webapps folder.
you can pass env params directly to your app
by using: IPG_ENV_PARAMS and concat the params with #.
the script inside will run the resin will take care of the rest.

Example Dockerfile:

FROM aharonamir/base-resin
ADD [your war file] /opt/resin/webapps/
ENTRYPOINT ["/opt/resin/bin/resin.sh", "console"]

Example docker-compose:

my-webapp:
environment:
IPG_ENV_PARAMS: "-DLogic.IpAddress=192.168.1.2:9009#\
-Dmongodb.port=27017#\
-Dredis.port=6379"
image: mycompany/my-webapp
ports:

- "8010:8080"
- "8443:8443"
- "9080:9080"
Docker Pull Command
Owner
aharonamir

Comments (0)