Add a base workspace.yml file
This commit is contained in:
parent
86241a9832
commit
54507c2d74
23
workspace.yml
Normal file
23
workspace.yml
Normal 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
|
Loading…
Reference in a new issue