citadel-apps/apps/bitcartcc/app.yml

98 lines
2.8 KiB
YAML
Raw Normal View History

2022-04-10 18:07:46 +00:00
# yaml-language-server: $schema=../../app-standard-v3.yml
version: 3
2022-04-10 14:08:20 +00:00
metadata:
category: Payments
name: BitcartCC
version: 0.6.5.1
2022-04-10 18:09:09 +00:00
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
2022-04-10 18:07:46 +00:00
developers:
BitcartCC: https://bitcartcc.com
2022-04-10 14:08:20 +00:00
repo: https://github.com/bitcartcc/bitcart
support: https://bitcartcc.com/#community
2022-04-10 18:07:46 +00:00
gallery:
- 1.png
- 2.png
- 3.png
2022-04-10 14:08:20 +00:00
containers:
2022-04-10 18:07:46 +00:00
- name: admin
2022-04-10 14:08:20 +00:00
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
2022-04-10 18:07:46 +00:00
- name: backend
2022-04-10 14:08:20 +00:00
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
2022-04-10 18:07:46 +00:00
data:
2022-04-10 14:08:20 +00:00
- data/bitcart:/datadir
2022-04-10 18:07:46 +00:00
- name: bitcoin
2022-04-10 14:08:20 +00:00
restart: unless-stopped
image: bitcartcc/bitcart-btc:stable
environment:
BTC_NETWORK: $BITCOIN_NETWORK
BTC_LIGHTNING: true
IN_DOCKER: false
2022-04-10 18:07:46 +00:00
data:
2022-04-10 14:08:20 +00:00
- data/bitcoin:/data
2022-04-10 18:07:46 +00:00
- name: database
2022-04-10 14:08:20 +00:00
restart: unless-stopped
image: postgres:12-alpine
environment:
POSTGRES_DB: bitcart
POSTGRES_HOST_AUTH_METHOD: trust
2022-04-10 18:07:46 +00:00
data:
2022-04-10 14:08:20 +00:00
- data/postgres:/var/lib/postgresql/data
2022-04-10 18:07:46 +00:00
- name: redis
2022-04-10 14:08:20 +00:00
restart: unless-stopped
image: redis:alpine
2022-04-10 18:07:46 +00:00
- name: store
2022-04-10 14:08:20 +00:00
restart: unless-stopped
image: bitcartcc/bitcart-store:stable
command: yarn start
environment:
BITCART_STORE_API_URL: http://$APP_BITCARTCC_BACKEND_IP:8000
2022-04-10 18:07:46 +00:00
- name: worker
2022-04-10 14:08:20 +00:00
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
2022-04-10 18:07:46 +00:00
data:
2022-04-10 14:08:20 +00:00
- data/bitcart:/datadir
2022-04-10 18:07:46 +00:00
- image: nginx:1.21.3-alpine@sha256:1ff1364a1c4332341fc0a854820f1d50e90e11bb0b93eb53b47dc5e10c680116
init: true
port: 80
name: main
data:
2022-04-10 18:09:09 +00:00
- nginx/nginx.conf:/etc/nginx/nginx.conf