Sign inSign up

bmillerz/devup:1.0.0

Developer tools
Manifest digest

sha256:184190d5d816aee0c1d2ee1a183724052f6a7a91a6c2bd7c8f086837bec68fff

Last pushed

about 1 month by bmillerz

Type

Sandbox Kit

Manifest digest

sha256:184190d5d816aee0c1d2ee1a183724052f6a7a91a6c2bd7c8f086837bec68fff

yaml
schemaVersion: "2"
kind: mixin
name: devup
version: 1.0.0
displayName: Start the sandbox's services
description: Runs the image's `devup`. No-ops on images that don't ship one.
sourceURL: https://github.com/bmillerz/sbx-workbench/tree/main/kits/devup
setup:
    startup:
        - command:
            - sh
            - -c
            - command -v devup >/dev/null && devup || { V=$(ls /etc/postgresql 2>/dev/null | head -1); sudo pg_ctlcluster "$V" main start 2>/dev/null; sudo service redis-server start >/dev/null 2>&1; sudo -u postgres createuser -s agent 2>/dev/null; true; }
          user: "1000"
          description: Start Postgres + Redis, make agent a DB superuser