docs
Command-first guides for shipping a Dockerfile-backed app with devopsellence.
first deploy
Install the CLI, move into your app directory, and ship the first release.
$
curl -fsSL https://staging.devopsellence.com/lfg.sh | bash
$
cd my-awesome-project
$
devopsellence deploy
secrets
Push a value from your shell into the environment without storing it in source control.
$
printf '%s' "$SECRET_KEY_BASE" | devopsellence secret set --service web --name SECRET_KEY_BASE --stdin
bring your own node
Attach a machine you control instead of relying only on managed capacity.
$
devopsellence node bootstrap
config example
A fuller app shape with web, worker, env vars, secrets, and persistent storage.
schema_version: 3
app:
type: rails
organization: acme
project: fizzy
default_environment: production
build:
context: .
dockerfile: Dockerfile
web:
command: bundle exec puma -C config/puma.rb
env:
RAILS_ENV: production
RAILS_LOG_TO_STDOUT: "1"
WEB_CONCURRENCY: "2"
secret_refs:
- name: SECRET_KEY_BASE
secret: SECRET_KEY_BASE
- name: DATABASE_URL
secret: DATABASE_URL
port: 3000
healthcheck:
path: /up
port: 3000
volumes:
- source: app_storage
target: /rails/storage
worker:
command: bundle exec sidekiq
env:
RAILS_ENV: production
MALLOC_ARENA_MAX: "2"
secret_refs:
- name: DATABASE_URL
secret: DATABASE_URL
- name: REDIS_URL
secret: REDIS_URL
volumes:
- source: app_storage
target: /rails/storage