Skip to main content

Services

A service specifies the runtime of an artifact, provides deployment of an artifact. It has a one-to-one relationship with an artifact.

The currently supported service types are:

  • jee-application
  • angular-frontend
  • gateway
  • database
  • custom

Customization

Option
project.service.environmentVariables.disable Service

Indicates that the service doesn't use environment variables

<options>
<project.service.environmentVariables.disable/>
</options>
Option
project.service.ports.disable Service

Indicates that the service doesn't expose any ports on the host

<options>
<project.service.ports.disable/>
</options>
Option
project.service.overrides.disable Service

This will exclude the service from the environment override file. This means the service will be used as is in the deployment without any configuration specific to an environment.

<options>
<project.service.overrides.disable/>
</options>
Option
project.service.buildContext.disable Service

Indicates that the softwareProject service shouldn't have a build context

<options>
<project.service.buildContext.disable/>
</options>
Option
project.service.volumeName Service

Use a custom name for the service volume. Only takes effect when using a service type that expands a volume e.g. database.

<options>
<project.service.volumeName>my-custom-volume</project.service.volumeName>
</options>
Option
project.service.rootless.enable Service

If a Dockerfile is expanded for this service, generate an image that at runtime uses a user instead of root

<options>
<project.service.rootless.enable/>
</options>