diff --git a/docker-compose-tmp.yaml b/docker-compose-tmp.yaml deleted file mode 100644 index 0f05137..0000000 --- a/docker-compose-tmp.yaml +++ /dev/null @@ -1,72 +0,0 @@ -services: - db: - image: postgres:12-alpine - environment: - POSTGRES_HOST_AUTH_METHOD: trust - POSTGRES_DB: wallet-backend - volumes: - - postgres-db:/var/lib/postgresql/data - ports: - - 5432:5432 - api: - image: stellar/wallet-backend:development - build: - context: ./ - platforms: - - "linux/amd64" - #args: - # STELLAR_CORE_VERSION: 21.0.0-1872.c6f474133.jammy - depends_on: - db: - condition: service_started - ports: - - 8001:8001 - entrypoint: "" - command: - - sh - - -c - - | - ./wallet-backend migrate up - ./wallet-backend channel-account ensure 5 - ./wallet-backend serve - environment: - DATABASE_URL: postgres://postgres@db:5432/wallet-backend?sslmode=disable - PORT: 8001 - SERVER_BASE_URL: http://localhost:8001 - LOG_LEVEL: TRACE - WALLET_SIGNING_KEY: ${WALLET_SIGNING_KEY} - DISTRIBUTION_ACCOUNT_PUBLIC_KEY: ${DISTRIBUTION_ACCOUNT_PUBLIC_KEY} - DISTRIBUTION_ACCOUNT_SIGNATURE_PROVIDER: ${DISTRIBUTION_ACCOUNT_SIGNATURE_PROVIDER} - - # Env Signature Client - DISTRIBUTION_ACCOUNT_PRIVATE_KEY: ${DISTRIBUTION_ACCOUNT_PRIVATE_KEY} - - # KMS Signature Client - KMS_KEY_ARN: ${KMS_KEY_ARN} - AWS_REGIONG: ${AWS_REGION} - # Using KMS locally is necessary to inject the AWS credentials envs. - AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID} - AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} - AWS_SESSION_TOKEN: ${AWS_SESSION_TOKEN} - - # Channel Account - CHANNEL_ACCOUNT_ENCRYPTION_PASSPHRASE: ${CHANNEL_ACCOUNT_ENCRYPTION_PASSPHRASE} - TRACKER_DSN: ${TRACKER_DSN} - STELLAR_ENVIRONMENT: ${STELLAR_ENVIRONMENT} - ingest: - image: stellar/wallet-backend:development - depends_on: - db: - condition: service_started - entrypoint: "" - command: - - sh - - -c - - ./wallet-backend ingest - environment: - DATABASE_URL: postgres://postgres@db:5432/wallet-backend?sslmode=disable - TRACKER_DSN: ${TRACKER_DSN} - STELLAR_ENVIRONMENT: ${STELLAR_ENVIRONMENT} -volumes: - postgres-db: - driver: local diff --git a/soroban_rpc_startup.sh b/soroban_rpc_startup.sh deleted file mode 100644 index b4b2c73..0000000 --- a/soroban_rpc_startup.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -set -e - -# Handle environment logic for Soroban RPC -if [ "$NETWORK" = "testnet" ]; then - CONFIG_FILE="/config/soroban-rpc-config.toml" -elif [ "$NETWORK" = "prod" ]; then - CONFIG_FILE="/config/soroban-prod-rpc-config.toml" -else - echo "Unknown environment: $NETWORK" - exit 1 -fi - -# Start Soroban RPC -./app/soroban-rpc --config-path "$CONFIG_FILE"