feat: add dev config and graceful config handling

- Add deploy/dev/config.yaml for dev environment testing
- Mount config from ./config.yaml instead of project root
- Create template config if missing and exit gracefully
- Update .gitignore to only ignore root config.yaml
This commit is contained in:
2026-01-01 09:22:06 -05:00
parent 8809095549
commit 3eee0bf296
4 changed files with 83 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ services:
- "${PORT:-3000}:3000"
volumes:
- ../../src:/app/src:ro
- ../../config.yaml:/app/config.yaml:ro
- ./config.yaml:/app/config.yaml:ro
environment:
- CONFIG_PATH=/app/config.yaml
healthcheck: