From bcfed0eb500a827548764d2a2347fc6adf7514c7 Mon Sep 17 00:00:00 2001 From: BitcoinMitchell Date: Mon, 28 Oct 2024 14:54:37 +0100 Subject: [PATCH] Updated README.md --- README.md | 4 ++ docker-compose.yml | 153 --------------------------------------------- 2 files changed, 4 insertions(+), 153 deletions(-) delete mode 100644 docker-compose.yml diff --git a/README.md b/README.md index 325047d..a88bd15 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,10 @@ BTCPay Server is built and maintained entirely by volunteer contributors around Contributors looking to help out, before opening a pull request, please join [our community chat](https://chat.btcpayserver.org/) or [start a GitHub discussion](https://github.com/btcpayserver/btcpayserver/discussions) to get early feedback, discuss the best ways to tackle the problem, and ensure there is no work duplication. +### 🔧 Development + +We recommend using [PrestaShop Kickstarter](https://github.com/PrestaShopCorp/docker-compose-kickstarter) (which supports [ngrok](https://ngrok.com/)) and a dockerized [BTCPay Server instance](https://github.com/btcpayserver/btcpayserver-docker/blob/master/Production/docker-compose.btc.yml) (or [an online testnet instance](https://testnet.demo.btcpayserver.org/)) for testing locally. + ## 🏪 PrestaShop Support PrestaShop support can be found through its official channels. diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index aac72d6..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,153 +0,0 @@ -version: '3' -services: - btcpayserver: - container_name: prestashop_btcpayserver - environment: - BTCPAY_POSTGRES: >- - User ID=postgres;Host=postgres;Port=5432;Application - Name=btcpayserver;Database=btcpayserverregtest - BTCPAY_EXPLORERPOSTGRES: >- - User ID=postgres;Host=postgres;Port=5432;Application - Name=btcpayserver;MaxPoolSize=80;Database=nbxplorerregtest - BTCPAY_NETWORK: regtest - BTCPAY_BIND: '0.0.0.0:49392' - BTCPAY_ROOTPATH: / - BTCPAY_DEBUGLOG: btcpay.log - BTCPAY_UPDATEURL: 'https://api.github.com/repos/btcpayserver/btcpayserver/releases/latest' - BTCPAY_DOCKERDEPLOYMENT: 'true' - BTCPAY_CHAINS: btc - BTCPAY_BTCEXPLORERURL: 'http://nbxplorer:32838/' - expose: - - '49392' - image: 'btcpayserver/btcpayserver:1.13.0' - links: - - postgres - ports: - - '49392:49392' - volumes: - - 'btcpay_datadir:/datadir' - - 'nbxplorer_datadir:/root/.nbxplorer' - - 'btcpay_pluginsdir:/root/.btcpayserver/Plugins' - - bitcoind: - container_name: prestashop_bitcoind - environment: - BITCOIN_NETWORK: regtest - BITCOIN_WALLETDIR: /walletdata - BITCOIN_EXTRA_ARGS: | - rpcport=43782 - rpcbind=0.0.0.0:43782 - rpcallowip=0.0.0.0/0 - port=39388 - whitelist=0.0.0.0/0 - maxmempool=500 - prune=50000 - mempoolfullrbf=1 - expose: - - '43782' - - '39388' - image: 'btcpayserver/bitcoin:26.0' - ports: - - '18443:43782' - volumes: - - 'bitcoin_datadir:/data' - - 'bitcoin_wallet_datadir:/walletdata' - - nbxplorer: - container_name: prestashop_nbxplorer - environment: - NBXPLORER_NETWORK: regtest - NBXPLORER_BIND: '0.0.0.0:32838' - NBXPLORER_TRIMEVENTS: 10000 - NBXPLORER_SIGNALFILESDIR: /datadir - NBXPLORER_POSTGRES: >- - User ID=postgres;Host=postgres;Port=5432;Application - Name=nbxplorer;MaxPoolSize=20;Database=nbxplorerregtest - NBXPLORER_AUTOMIGRATE: 1 - NBXPLORER_NOMIGRATEEVTS: 1 - NBXPLORER_DELETEAFTERMIGRATION: 1 - NBXPLORER_CHAINS: btc - NBXPLORER_BTCRPCURL: 'http://bitcoind:43782/' - NBXPLORER_BTCNODEENDPOINT: 'bitcoind:39388' - expose: - - '32838' - image: 'nicolasdorier/nbxplorer:2.5.2' - links: - - postgres - volumes: - - 'nbxplorer_datadir:/datadir' - - 'bitcoin_datadir:/root/.bitcoin' - - postgres: - command: - - '-c' - - random_page_cost=1.0 - - '-c' - - shared_preload_libraries=pg_stat_statements - container_name: prestashop_postgres - environment: - POSTGRES_HOST_AUTH_METHOD: trust - image: 'btcpayserver/postgres:13.13' - shm_size: 256mb - volumes: - - 'postgres_datadir:/var/lib/postgresql/data' - - mariadb: - container_name: prestashop_mariadb - environment: - - ALLOW_EMPTY_PASSWORD=yes - - MARIADB_SKIP_TEST_DB=yes - - MARIADB_USER=prestashop - - MARIADB_PASSWORD=bitnami - - MARIADB_DATABASE=prestashop - image: 'bitnami/mariadb:11.0' - ports: - - '3305:3306' - volumes: - - 'mariadb_data:/bitnami/mariadb' - - prestashop: - container_name: prestashop_prestashop - depends_on: - - mariadb - - btcpayserver - environment: - - PRESTASHOP_HOST=prestashop:8080 - - PRESTASHOP_DATABASE_HOST=mariadb - - PRESTASHOP_DATABASE_PORT_NUMBER=3306 - - PRESTASHOP_DATABASE_USER=prestashop - - PRESTASHOP_DATABASE_PASSWORD=bitnami - - PRESTASHOP_DATABASE_NAME=prestashop - - PRESTASHOP_EMAIL=user@example.com - - PRESTASHOP_PASSWORD=bitnami1 - expose: - - '8080' - - '8443' - image: 'bitnami/prestashop:8.0.4' - links: - - mariadb - - btcpayserver - ports: - - '8080:8080' - - '8443:8443' - volumes: - - 'prestashop_data:/bitnami/prestashop' - - mailpit: - container_name: prestashop_mailpit - image: 'axllent/mailpit:latest' - logging: - driver: none - ports: - - '1025:1025' - - '8025:8025' - -volumes: - bitcoin_datadir: ~ - bitcoin_wallet_datadir: ~ - btcpay_datadir: ~ - btcpay_pluginsdir: ~ - mariadb_data: { driver: local } - nbxplorer_datadir: ~ - postgres_datadir: ~ - prestashop_data: { driver: local }