27 lines
801 B
YAML
27 lines
801 B
YAML
# Autotest - Editor Web + Backend
|
|
# Run with: docker compose up -d --build
|
|
#
|
|
# Access at: http://localhost:4321
|
|
# YAML files are mounted via bind mounts (testcases/ and testplans/)
|
|
|
|
services:
|
|
autotest:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: autotest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "4321:4321"
|
|
volumes:
|
|
# Bind mounts so YAML files are persisted and visible from host (good for git + backups)
|
|
- ./testcases:/app/testcases
|
|
- ./testplans:/app/testplans
|
|
# Optional: also persist generated outputs if you want them outside the container
|
|
- ./output:/app/output
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=4321
|
|
# Uncomment the next line if you want to see live logs during development
|
|
# tty: true
|