UPDATED devcontainer configuration to enable VS CODE WEB development

This commit is contained in:
Marek Lesko
2025-07-10 07:29:50 +00:00
parent a8848a3e5e
commit 733b1bd1af
6 changed files with 66 additions and 4 deletions

37
.gitpod/automations.yaml Normal file
View File

@@ -0,0 +1,37 @@
tasks:
hello:
name: Hello World
command: |
echo "Hello, World!"
triggeredBy:
- manual
# - postEnvironmentStart
# - postDevcontainerStart
services:
example-service:
name: Example Service
description: Example service simulating a backend
commands:
start: |
echo "Starting backend service..."
touch /tmp/backend.started
while true; do
sleep 1
date
done
ready: |
if [ -f /tmp/backend.started ]; then
echo "Backend service is ready"
exit 0
else
echo "Backend service is not ready"
exit 1
fi
# stop: |
# echo "Stopping backend service..."
# rm /tmp/backend.started
# pkill backend
triggeredBy:
- postEnvironmentStart
# - postDevcontainerStart