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

Add the Actix + PostgreSql simple example #2

Merged
merged 1 commit into from
Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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