Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from omid/ActixPgsqlExample
Browse files Browse the repository at this point in the history
Add the Actix + PostgreSql simple example
  • Loading branch information
GopherJ authored Mar 4, 2020
2 parents 6155a4d + 9bab9bc commit 74d47a8
Show file tree
Hide file tree
Showing 13 changed files with 2,111 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
13 changes: 13 additions & 0 deletions actix-pgsql-simple/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### DB
DB_USER=postgres
DB_PASS=postgres
DB_NAME=casbin
DB_HOST=casbin-actix-pgsql-db
DB_PORT=5432
DATABASE_URL=postgres://$DB_USER:$DB_PASS@$DB_HOST:$DB_PORT/$DB_NAME

### Actix
BIND_ADDRESS=0.0.0.0:1080

### Logger
RUST_LOG=debug,actix_server=debug
Loading

0 comments on commit 74d47a8

Please sign in to comment.