Skip to content
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: 0 additions & 1 deletion backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pub mod presentation;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
// Load env before reading variables
dotenvy::dotenv().ok();
let database_url = env::var("DATABASE_URL").expect("DATABASE_URL must be set");

Expand Down
16 changes: 15 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
POSTGRES_PASSWORD: guild_password
POSTGRES_DB: guild_genesis
ports:
- "5432:5432"
- "5433:5432"
volumes:
- pg_data:/var/lib/postgresql/data

Expand All @@ -26,6 +26,20 @@ services:
depends_on:
- postgres

indexer:
build: ./indexer
command: ["/app/app"]
environment:
RUST_LOG: debug
RUST_BACKTRACE: 1
PORT: 3002
env_file:
- .env
ports:
- "3002:3002"
depends_on:
- postgres

frontend:
build:
context: ./frontend
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading