diff --git a/aem/build.gradle.kts b/aem/build.gradle.kts index c71ac180..40295d47 100644 --- a/aem/build.gradle.kts +++ b/aem/build.gradle.kts @@ -30,6 +30,11 @@ aem { watchConfigDir("conf") } } + "duckrails" { + resolve { + ensureDir() + } + } } } hosts { diff --git a/aem/gradle/environment/docker-compose.yml.peb b/aem/gradle/environment/docker-compose.yml.peb index 3b91eb0d..e4a70c1a 100644 --- a/aem/gradle/environment/docker-compose.yml.peb +++ b/aem/gradle/environment/docker-compose.yml.peb @@ -22,5 +22,17 @@ services: extra_hosts: - "host.docker.internal:{{ docker.runtime.hostInternalIp }}" {% endif %} + duckrails: + image: iridakos/duckrails:release-v2.1.5 + deploy: + replicas: 1 + restart_policy: + condition: on-failure + ports: + - "8080:80" + networks: + - docker-net + volumes: + - "{{ docker.rootPath }}/duckrails:/opt/duckrails/db" networks: docker-net: