Files
sencho/docker-compose.yml
T
SaelixCode 800d47845f refactor: migrate to directory-based stack structure
- Updated ComposeService to run docker commands from stack-specific directories, ensuring relative paths resolve correctly.
- Refactored FileSystemService to manage stacks as directories, including methods for creating, updating, and deleting stacks.
- Implemented automatic migration of existing flat-file stacks to the new directory structure on server startup.
- Adjusted API routes to use stack names instead of filenames, simplifying stack management.
- Modified frontend components to align with the new stack naming conventions and removed unnecessary file extensions.
2026-02-20 19:45:45 -05:00

24 lines
711 B
YAML

services:
sencho:
image: saelix/sencho:latest
build: .
container_name: sencho
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
# Stacks Directory
# Left Side = Path on your host server (Change this to your actual folder)
# Right Side = Path inside Sencho (Do NOT change)
- /path/to/your/docker/compose:/app/compose
environment:
# Tell Sencho's backend where to look inside the container
- COMPOSE_DIR=/app/compose
- DATA_DIR=/app/data
# Generate a secure random string for this in production
- JWT_SECRET=change-me-in-production