From 10fc097a50a8251490fed2e151994f9c1a216f50 Mon Sep 17 00:00:00 2001 From: Linus Oleander Date: Tue, 26 Nov 2024 16:18:13 +0100 Subject: [PATCH] Add environment and interaction settings to dip.yml --- examples/dip.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/examples/dip.yml b/examples/dip.yml index 37f82d1..892cc6b 100644 --- a/examples/dip.yml +++ b/examples/dip.yml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/bibendi/dip/refs/heads/master/schema.json + version: '8.1.0' environment: @@ -7,6 +9,8 @@ environment: REDIS_URL: redis://redis:6379/0 PORT: ${PORT:-3000} APP_PORT: ${PORT:-3000} + ENABLE_WEB_CONSOLE: true + WORKER_CONCURRENCY: 4 compose: files: @@ -35,6 +39,10 @@ interaction: shell: true entrypoint: /docker-entrypoint.sh runner: docker_compose + pod: web + compose_run_options: + - service-ports + - rm subcommands: console: description: Start Rails console @@ -82,6 +90,15 @@ interaction: - rm profiles: - test + subcommands: + all: + command: bundle exec appraisal rspec + rails-6.0: + command: bundle exec appraisal rails-6.0 rspec + rails-6.1: + command: bundle exec appraisal rails-6.1 rspec + rails-7.0: + command: bundle exec appraisal rails-7.0 rspec shell: description: Start a shell in the web container