Add a base workspace.yml file

This commit is contained in:
Oliver Davies 2021-07-02 23:09:05 +01:00
parent 86241a9832
commit 54507c2d74

23
workspace.yml Normal file
View file

@ -0,0 +1,23 @@
workspace('oliverdavies-uk'):
description: Sculpin website for oliverdavies.uk.
command('disable'):
env:
COMPOSE_PROJECT_NAME: = @('namespace')
exec: |
#!bash(workspace:/)
run docker-compose down
command('enable'):
env:
COMPOSE_PROJECT_NAME: = @('namespace')
exec: |
#!bash(workspace:/)
passthru docker-compose up -d --build
command('ps'):
env:
COMPOSE_PROJECT_NAME: = @('namespace')
exec: |
#!bash(workspace:/)
passthru docker-compose ps