-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CLI] Add support for running postgres in a container to the local te…
…stnet
- Loading branch information
Showing
7 changed files
with
331 additions
and
21 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright © Aptos Foundation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
use clap::Parser; | ||
|
||
/// TODO: | ||
#[derive(Debug, Parser)] | ||
pub struct IndexerApiArgs { | ||
/// If set, we will run a postgres DB using Docker (unless | ||
/// --use-host-postgres is set), run the standard set of indexer processors (see | ||
/// --processors) and configure them to write to this DB, and run an API that lets | ||
/// you access the data they write to storage. This is opt in because it requires | ||
/// Docker to be installed in the host system. | ||
#[clap(long, conflicts_with = "no_txn_stream")] | ||
pub with_indexer_api: bool, | ||
} |
This file contains 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
Oops, something went wrong.