This module aims to provide a simple way to deploy a Docker container with the Etendo ERP.
- Docker
- Docker Compose
On a module level, create a new folder called compose and add a <>.yml file with the configuration of the new service.
Example:
module/com.etendoerp.busybox/compose/com.etendoerp.busybox.yml
services:
busybox:
image: busybox:latest
command: [ "/bin/busybox", "watch", "ls", "-l" ]Execute:
./gradlew resources.upThis command will search for all resources configured and start the containers.
Execute:
./gradlew resources.stopThis command will stop all containers.
Execute:
./gradlew resources.downThis command will stop and remove all containers.