feat: new run method & add local dev setup

This commit is contained in:
swve 2024-03-31 15:14:25 +02:00
parent 67c18a2d1e
commit 24be39f7e3
6 changed files with 27 additions and 6 deletions

View file

@ -8,6 +8,10 @@ services:
- .:/usr/learnhouse
environment:
- LEARNHOUSE_COOKIE_DOMAIN=.localhost
# This overrides the default config.yaml (optimized for docker container based development)
- LEARNHOUSE_SQL_CONNECTION_STRING=postgresql://learnhouse:learnhouse@db:5432/learnhouse
- LEARNHOUSE_REDIS_CONNECTION_STRING=redis://redis:6379/learnhouse
- LEARNHOUSE_PORT=80
depends_on:
db:
condition: service_healthy