Sign inSign up

aharonamir/base-resin

By aharonamir

•Updated about 10 years ago

base image for resin webapps

Image
0

431

aharonamir/base-resin repository overview

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"

Tag summary

Content type

Image

Digest

Size

93.7 MB

Last updated

about 10 years ago

docker pull aharonamir/base-resin