Sign inSign up

bmillerz/devup:1.0.1

Developer tools
Manifest digest

sha256:9695d9612ec9ec3139f9996243270b71dce2fa84e45cfd434c770839e2520b38

Last pushed

about 1 month by bmillerz

Type

Sandbox Kit

Manifest digest

sha256:9695d9612ec9ec3139f9996243270b71dce2fa84e45cfd434c770839e2520b38

yaml
schemaVersion: "2"
kind: mixin
name: devup
version: 1.0.1
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
            - D=/usr/local/bin/devup; [ -x $D ] && $D || { 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