aboutsummaryrefslogtreecommitdiffstats
path: root/reg.yml
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-12-20 17:42:12 -0800
committerAdam Soltys <[email protected]>2022-12-20 17:42:12 -0800
commita574285fe3b1de4fdfda342ed287bbc53a57400a (patch)
tree65193ad7345932d47aff9e007e66536670abf87f /reg.yml
parentaa662369cc7a293d0be5f4d419543a51ad40a7bc (diff)
parentaecec231b6d94b0707b840a7153bd05a057f49c7 (diff)
downloadcoinos-server-a574285fe3b1de4fdfda342ed287bbc53a57400a.tar.gz
coinos-server-a574285fe3b1de4fdfda342ed287bbc53a57400a.zip
Merge remote-tracking branch 'origin/prod'
Diffstat (limited to 'reg.yml')
-rw-r--r--reg.yml96
1 files changed, 96 insertions, 0 deletions
diff --git a/reg.yml b/reg.yml
new file mode 100644
index 00000000..e03d9352
--- /dev/null
+++ b/reg.yml
@@ -0,0 +1,96 @@
+version: '3.6'
+services:
+ app:
+ depends_on:
+ - cl
+ - maria
+ - bitcoin
+ - liquid
+ container_name: app
+ image: gcr.io/coinos-326717/github.com/coinos/coinos-server:prod
+ restart: always
+ environment:
+ NODE_ENV: production
+ NODE_OPTIONS: "--es-module-specifier-resolution=node --experimental-modules --loader ./loader.js --openssl-legacy-provider"
+ HOSTNAME: "${HOSTNAME}"
+ volumes:
+ - ./:/app
+ - ./logs:/logs
+ networks:
+ default:
+ ipv4_address: 172.42.0.22
+ maria:
+ container_name: maria
+ image: mariadb
+ restart: always
+ environment:
+ MARIADB_ROOT_PASSWORD: password
+ volumes:
+ - ./mysql:/var/lib/mysql
+ bitcoin:
+ image: ghcr.io/vulpemventures/bitcoin
+ container_name: bitcoin
+ volumes:
+ - ./config/bitcoin:/home/bitcoin/.bitcoin
+ restart: always
+ networks:
+ default:
+ ipv4_address: 172.42.0.23
+ liquid:
+ image: ghcr.io/vulpemventures/elements
+ container_name: liquid
+ volumes:
+ - ./config/liquid:/home/elements/.elements
+ restart: always
+ networks:
+ default:
+ ipv4_address: 172.42.0.24
+ cl:
+ depends_on:
+ - bitcoin
+ image: elementsproject/lightningd:v0.12.0
+ container_name: cl
+ restart: always
+ volumes:
+ - ./config/lightning:/root/.lightning
+ ports:
+ - "9736:9735"
+ networks:
+ default:
+ ipv4_address: 172.42.0.25
+ lnd:
+ depends_on:
+ - bitcoin
+ - tor
+ image: lightninglabs/lnd:v0.15.4-beta
+ container_name: lnd
+ volumes:
+ - ./config/lnd:/root/.lnd
+ - ./config/bitcoin:/root/.bitcoin
+ - ./config/tor:/etc/tor
+ ports:
+ - "9735:9735"
+ restart: always
+ networks:
+ default:
+ ipv4_address: 172.42.0.26
+ tor:
+ container_name: tor
+ image: dperson/torproxy
+ restart: always
+ volumes:
+ - ./config/tor:/etc/tor
+ - ./config/tordata:/var/lib/tor
+ networks:
+ default:
+ ipv4_address: 172.42.0.27
+ redis:
+ restart: always
+ container_name: redis
+ image: redis
+ volumes:
+ - ./config/redis:/data
+networks:
+ default:
+ name: net
+ external: true