Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
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
17 changes: 17 additions & 0 deletions .run/[git] payroll server.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="[git] payroll server" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="plugin" />
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="BASE_CONFIG_PATH" value="etc/vultisig" />
<env name="DATABASE_DSN" value="postgres://myuser:mypassword@localhost:5431/vultisig-plugin?sslmode=disable" />
<env name="SERVER_PORT" value="8081" />
<env name="VS_CONFIG_NAME" value="payroll.server.example" />
</envs>
Comment thread
webpiratt marked this conversation as resolved.
<kind value="PACKAGE" />
<package value="github.com/vultisig/plugin/cmd/payroll/server" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/payroll/server/main.go" />
<method v="2" />
</configuration>
</component>
16 changes: 16 additions & 0 deletions .run/[git] payroll worker.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="[git] payroll worker" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="plugin" />
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="BASE_FILE_PATH" value="etc/vultisig" />
<env name="DATABASE_DSN" value="postgres://myuser:mypassword@localhost:5431/vultisig-plugin?sslmode=disable" />
<env name="VS_CONFIG_NAME" value="payroll.worker.example" />
Comment thread
webpiratt marked this conversation as resolved.
</envs>
<kind value="PACKAGE" />
<package value="github.com/vultisig/plugin/cmd/payroll/worker" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/payroll/worker/main.go" />
<method v="2" />
</configuration>
</component>
8 changes: 8 additions & 0 deletions .run/[git] plugin stack.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="[git] plugin stack" type="CompoundRunConfigurationType">
<toRun name="[git] payroll server" type="GoApplicationRunConfiguration" />
<toRun name="[git] payroll worker" type="GoApplicationRunConfiguration" />
<toRun name="[git] tx_indexer worker" type="GoApplicationRunConfiguration" />
<method v="2" />
</configuration>
</component>
17 changes: 17 additions & 0 deletions .run/[git] tx_indexer worker.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="[git] tx_indexer worker" type="GoApplicationRunConfiguration" factoryName="Go Application">
<module name="plugin" />
<working_directory value="$PROJECT_DIR$" />
<envs>
<env name="DATABASE.DSN" value="postgres://myuser:mypassword@localhost:5431/vultisig-plugin?sslmode=disable" />
<env name="RPC.BITCOIN.URL" value="https://bitcoin-rpc.publicnode.com" />
<env name="RPC.ETHEREUM.URL" value="https://ethereum-rpc.publicnode.com" />
<env name="VS_CONFIG_NAME" value="config-tx-indexer" />
</envs>
Comment thread
webpiratt marked this conversation as resolved.
<kind value="PACKAGE" />
<package value="github.com/vultisig/plugin/cmd/tx_indexer" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/cmd/tx_indexer/main.go" />
<method v="2" />
</configuration>
</component>
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ Vultisigner / VultiServer consists of two components:
- Docker and Docker Compose
- MinIO client (mc)

## 1. Start Infrastructure Services
## 1. Start Services

First, start the required infrastructure services using Docker Compose:
First, start the services using Docker Compose, it has both db/infra and backend services:

```
# create shared network in docker
Expand All @@ -102,6 +102,15 @@ make up
make down
```

To debug Docker containers in GoLand with breakpoints, [refer to this article](https://www.jetbrains.com/help/go/attach-to-running-go-processes-with-debugger.html).

For convenient usage of debug breakpoints in GoLand, you can start only infra/db with Docker, and backend services outside Docker. Configs shared in `.run` directory, all envs already configured correctly. It will run:
- Payroll Server;
- Payroll Worker;
- Tx Indexer Worker;

![goland-run.png](readme-static/goland-run.png)

## 2. Access MinIO

You can verify the buckets were created by visiting the MinIO Console:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ services:
volumes:
db_data:
redis_data:
minio_data:
minio_data:
networks:
shared_network:
external: true
external: true
Binary file added readme-static/goland-run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.