Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflect schema changes in examples/dip.yml #182

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions examples/dip.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/bibendi/dip/refs/heads/master/schema.json

version: '8.1.0'

environment:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down