mirror of
https://github.com/runcitadel/apps.git
synced 2024-11-11 16:30:37 +00:00
Revert "Remove Bitcart from stable channel (#19)"
This reverts commit c087229746
.
This commit is contained in:
parent
c2f05c2f06
commit
f9038e40c1
97
apps/bitcartcc/app.yml
Normal file
97
apps/bitcartcc/app.yml
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
# yaml-language-server: $schema=../../app-standard-v3.yml
|
||||||
|
|
||||||
|
version: 3
|
||||||
|
metadata:
|
||||||
|
category: Payments
|
||||||
|
name: BitcartCC
|
||||||
|
version: 0.6.5.1
|
||||||
|
tagline: BitcartCC is a self-hosted payment processor and developer solutions
|
||||||
|
platform for cryptocurrencies
|
||||||
|
description: BitcartCC provides light-weight, but secure and easy-to-use
|
||||||
|
solutions for merchants and developers
|
||||||
|
developers:
|
||||||
|
BitcartCC: https://bitcartcc.com
|
||||||
|
repo: https://github.com/bitcartcc/bitcart
|
||||||
|
support: https://bitcartcc.com/#community
|
||||||
|
gallery:
|
||||||
|
- 1.png
|
||||||
|
- 2.png
|
||||||
|
- 3.png
|
||||||
|
containers:
|
||||||
|
- name: admin
|
||||||
|
restart: unless-stopped
|
||||||
|
image: bitcartcc/bitcart-admin:stable
|
||||||
|
command: yarn start
|
||||||
|
environment:
|
||||||
|
BITCART_ADMIN_LOG_FILE: bitcart.log
|
||||||
|
BITCART_ADMIN_API_URL: http://$APP_BITCARTCC_BACKEND_IP:8000
|
||||||
|
- name: backend
|
||||||
|
depends_on:
|
||||||
|
- bitcoin
|
||||||
|
- database
|
||||||
|
- redis
|
||||||
|
restart: unless-stopped
|
||||||
|
image: bitcartcc/bitcart:stable
|
||||||
|
entrypoint: /usr/local/bin/docker-entrypoint.sh
|
||||||
|
command: bash -c "alembic upgrade head && gunicorn -c gunicorn.conf.py main:app"
|
||||||
|
environment:
|
||||||
|
IN_DOCKER: false
|
||||||
|
LOG_FILE: bitcart.log
|
||||||
|
BITCART_DATADIR: /datadir
|
||||||
|
BTC_NETWORK: $BITCOIN_NETWORK
|
||||||
|
BTC_LIGHTNING: true
|
||||||
|
REDIS_HOST: redis://$APP_BITCARTCC_REDIS_IP
|
||||||
|
DB_HOST: $APP_BITCARTCC_DATABASE_IP
|
||||||
|
user: 1000:1000
|
||||||
|
data:
|
||||||
|
- data/bitcart:/datadir
|
||||||
|
- name: bitcoin
|
||||||
|
restart: unless-stopped
|
||||||
|
image: bitcartcc/bitcart-btc:stable
|
||||||
|
environment:
|
||||||
|
BTC_NETWORK: $BITCOIN_NETWORK
|
||||||
|
BTC_LIGHTNING: true
|
||||||
|
IN_DOCKER: false
|
||||||
|
data:
|
||||||
|
- data/bitcoin:/data
|
||||||
|
- name: database
|
||||||
|
restart: unless-stopped
|
||||||
|
image: postgres:12-alpine
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: bitcart
|
||||||
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
|
data:
|
||||||
|
- data/postgres:/var/lib/postgresql/data
|
||||||
|
- name: redis
|
||||||
|
restart: unless-stopped
|
||||||
|
image: redis:alpine
|
||||||
|
- name: store
|
||||||
|
restart: unless-stopped
|
||||||
|
image: bitcartcc/bitcart-store:stable
|
||||||
|
command: yarn start
|
||||||
|
environment:
|
||||||
|
BITCART_STORE_API_URL: http://$APP_BITCARTCC_BACKEND_IP:8000
|
||||||
|
- name: worker
|
||||||
|
depends_on:
|
||||||
|
- backend
|
||||||
|
restart: unless-stopped
|
||||||
|
image: bitcartcc/bitcart:stable
|
||||||
|
entrypoint: /usr/local/bin/docker-entrypoint.sh
|
||||||
|
command: python3 worker.py
|
||||||
|
environment:
|
||||||
|
IN_DOCKER: false
|
||||||
|
LOG_FILE: bitcart.log
|
||||||
|
BITCART_DATADIR: /datadir
|
||||||
|
BTC_NETWORK: $BITCOIN_NETWORK
|
||||||
|
BTC_LIGHTNING: true
|
||||||
|
REDIS_HOST: redis://$APP_BITCARTCC_REDIS_IP
|
||||||
|
DB_HOST: $APP_BITCARTCC_DATABASE_IP
|
||||||
|
user: 1000:1000
|
||||||
|
data:
|
||||||
|
- data/bitcart:/datadir
|
||||||
|
- image: nginx:1.21.3-alpine@sha256:1ff1364a1c4332341fc0a854820f1d50e90e11bb0b93eb53b47dc5e10c680116
|
||||||
|
init: true
|
||||||
|
port: 80
|
||||||
|
name: main
|
||||||
|
data:
|
||||||
|
- nginx/nginx.conf:/etc/nginx/nginx.conf
|
0
apps/bitcartcc/data/bitcart/.gitkeep
Normal file
0
apps/bitcartcc/data/bitcart/.gitkeep
Normal file
0
apps/bitcartcc/data/bitcoin/.gitkeep
Normal file
0
apps/bitcartcc/data/bitcoin/.gitkeep
Normal file
0
apps/bitcartcc/data/postgres/.gitkeep
Normal file
0
apps/bitcartcc/data/postgres/.gitkeep
Normal file
40
apps/bitcartcc/nginx/nginx.conf
Normal file
40
apps/bitcartcc/nginx/nginx.conf
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Umbrel. https://getumbrel.com
|
||||||
|
# SPDX-FileCopyrightText: 2021-2022 Citadel and contributors
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
user nginx;
|
||||||
|
worker_processes 1;
|
||||||
|
|
||||||
|
error_log /dev/stdout info;
|
||||||
|
|
||||||
|
events {
|
||||||
|
worker_connections 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
access_log /dev/stdout;
|
||||||
|
|
||||||
|
proxy_read_timeout 600;
|
||||||
|
|
||||||
|
default_type application/octet-stream;
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
|
||||||
|
location /api/ {
|
||||||
|
proxy_pass http://backend:8000/;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /admin {
|
||||||
|
proxy_pass http://admin:4000;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://store:3000/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user