Rejigged the structure

This commit is contained in:
2026-01-15 18:41:01 +11:00
parent 27044db894
commit 4064e1e716
29 changed files with 763 additions and 0 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
version: '3.8'
services:
reactjs:
build: ./react-site
volumes:
- ./react-site:/app
- /app/node_modules # prevent overwriting
ports:
- "3000:3000"
working_dir: /app
command: bun dev
agent:
build: ./agent
volumes:
- ./react-site:/workspace/react-site # same mount
- /var/run/docker.sock:/var/run/docker.sock # for docker commands
environment:
- REACTJS_CONTAINER=reactjs
working_dir: /app