Files
ark/docker-compose.regtest.yml
Louis Singer bb208ec995 Implements SQLite repositories (#180)
* add sqlite db

* add .vscode to gitignore

* add vtxo repo

* add sqlite repos implementations

* add sqlite in db/service

* update go.mod

* fix sqlite

* move sqlite tests to service_test.go + fixes

* integration tests using sqlite + properly close statements

* implement GetRoundsIds

* add "tx" table to store forfeits, connectors and congestion trees

* add db max conn = 1

* upsert VTXO + fix onboarding

* remove json tags

* Fixes

* Fix

* fix lint

* fix config.go

* Fix rm config & open db only once

* Update makefile

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
2024-06-19 18:16:31 +02:00

51 lines
1005 B
YAML

version: "3.7"
services:
oceand:
container_name: oceand
image: ghcr.io/vulpemventures/oceand:latest
restart: unless-stopped
user: 0:0
environment:
- OCEAN_LOG_LEVEL=5
- OCEAN_NO_TLS=true
- OCEAN_NO_PROFILER=true
- OCEAN_ELECTRUM_URL=tcp://electrs-liquid:50001
- OCEAN_NETWORK=regtest
- OCEAN_UTXO_EXPIRY_DURATION_IN_SECONDS=60
- OCEAN_DB_TYPE=badger
ports:
- "18000:18000"
arkd:
container_name: arkd
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
depends_on:
- oceand
environment:
- ARK_WALLET_ADDR=oceand:18000
- ARK_ROUND_INTERVAL=10
- ARK_NETWORK=regtest
- ARK_LOG_LEVEL=5
- ARK_ROUND_LIFETIME=512
- ARK_DB_TYPE=sqlite
ports:
- "6000:6000"
volumes:
oceand:
external: false
ocean:
external: false
arkd:
external: false
ark:
external: false
networks:
default:
name: nigiri
external: true