Last active
October 12, 2025 13:28
-
-
Save productdevbook/98eb8778062317c428e635a11a5a2587 to your computer and use it in GitHub Desktop.
docker.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run | |
docker run --name dev-redis -d -p 6379:6379 redis:8.2.2-alpine3.22 | |
docker run --name dev-postgres -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres postgres:18.0-alpine3.22 | |
docker run --name dev-mail -d -p 1080:1080 -p 1025:1025 marlonb/mailcrab:latest | |
# connect | |
DATABASE_POSTGRES_URL=postgres://postgres:postgres@localhost:5432/postgres | |
REDIS_URL=redis://localhost:6379 | |
# macos | |
# psql | |
brew doctor | |
brew update | |
brew install libpq | |
brew link --force libpq |
- Gerekli iki database manuel bekeeper (üçüncü parti başka uygulamada olabilir) üstünden oluşturulmalı
- Sırayla komutlar çalıştırılır (Sıra doğru)
- Açılan openfga docker localhost:port/playground üzerinden store oluşturulur
- Model script save yapılır sağ üstten Store ve Model Idler alınır
- StoreId ve ModelId env ye eklenir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.