--
You received this message because you are subscribed to the Google Groups "fabric3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric3+unsubscribe@googlegroups.com.
To post to this group, send email to fab...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fabric3/37b561ee-671d-4bf0-9704-2c1993dc866c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
FROM java:8
COPY docker-entrypoint.sh /entrypoint.sh
# This copies the distribution image into /data/image (make sure the path to image/ is correct).COPY image/ /data/image
# any environment variables you useENV F3_ENVIRONMENT=development
EXPOSE 8080
ENTRYPOINT ["/entrypoint.sh"]#!/bin/bash
java \ -Dnats \ -jar /data/image/bin/server.jar \ clone:vmHi Tomas,That's a good question. We are using Fabric3 in a containerized environment and I know of other projects with similar setups.The way we have it working is for the automated build to use the F3 assembly plugin to create a custom image with our required extensions. This image is then rolled into a Docker image that is deployed to a Rancher cluster. For persistent storage, we have the F3 data directory mapped to a GlusterFS clustered file system. This allows us to move container images easily and preserve database files which are mapped from the F3 data directory.I've copied Patrick who has set this (and other F3 environments up). We would be happy to discuss further in more detail.One question I have for the Docker images would be how do we handle F3 extensions? Do you know of a way to have Docker files overlay each other? This way we could incrementally add extensions by having multiple Docker images form a union.Jim
On Mon, Dec 19, 2016 at 1:36 PM, Tomáš Fecko <tomas...@gmail.com> wrote:
Hi,what is the "official" state of fabric3 containerization? I know we are speaking about this for years and some of you are probably already using it have it containerized.Is it the time to roll out official fabric3 docker containers to docker hub?What are your ideas about this? What needs to be done to accomplish this?Tomas
--
You received this message because you are subscribed to the Google Groups "fabric3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric3+u...@googlegroups.com.