Compare commits

...

2 commits

Author SHA1 Message Date
fullsizemalt
f7763199ff Merge branch 'main' into production
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2025-12-21 03:50:16 -08:00
fullsizemalt
958f097068 fix: Update docker-compose to use start.sh migration runner 2025-12-21 03:49:47 -08:00
2 changed files with 3 additions and 3 deletions

View file

@ -13,5 +13,5 @@ done
echo "✅ Migrations complete. Starting server..."
# Start the main application
exec uvicorn main:app --host 0.0.0.0 --port 8000
# Start the main application with production settings
exec uvicorn main:app --host 0.0.0.0 --port 8000 --root-path /api --proxy-headers --forwarded-allow-ips '*'

View file

@ -11,7 +11,7 @@ services:
environment:
- DATABASE_URL=postgresql://elmeg:elmeg_password@db:5432/elmeg
- SECRET_KEY=${SECRET_KEY:-demo-secret-change-in-production}
command: uvicorn main:app --host 0.0.0.0 --port 8000 --root-path /api --proxy-headers --forwarded-allow-ips '*'
command: ./start.sh
depends_on:
- db
restart: unless-stopped