aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-03 02:57:54 -0700
committerAdam Soltys <[email protected]>2021-08-03 02:57:54 -0700
commit45a58bddc5a8dd4b25865c922ef9b4107b427435 (patch)
tree97da49019031b511f3251e57e59008d62f16e399
parentc6ff23c0c5174ae2ac7f33fdd2b952bbe50750da (diff)
parentcfa93d65f113b4eed50cc88be76eeefa04a900eb (diff)
downloadcoinos-server-45a58bddc5a8dd4b25865c922ef9b4107b427435.tar.gz
coinos-server-45a58bddc5a8dd4b25865c922ef9b4107b427435.zip
Merge branch 'master' into v1.0.0
-rw-r--r--.env.sample2
-rw-r--r--docker-compose.prod.yml44
2 files changed, 46 insertions, 0 deletions
diff --git a/.env.sample b/.env.sample
index 9678b5e0..9fedb2dc 100644
--- a/.env.sample
+++ b/.env.sample
@@ -1,3 +1,5 @@
+NGINX_PORT=8080
+APP_SERVER_PORT=3220
BITCOIN_PEER_PORT=18442
BITCOIN_NODE_PORT=18443
LIQUID_PEER_PORT=18444
diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml
new file mode 100644
index 00000000..97173c77
--- /dev/null
+++ b/docker-compose.prod.yml
@@ -0,0 +1,44 @@
+version: '3.6'
+services:
+ ui:
+ container_name: ui
+ image: asoltys/coinos-ui:prod
+ volumes:
+ - ./config/nginx:/etc/nginx/templates
+ environment:
+ HOST: ${HOST}
+ network_mode: host
+ app:
+ container_name: app
+ image: asoltys/coinos-server
+ environment:
+ NODE_ENV: production
+ volumes:
+ - ./:/app
+ network_mode: host
+ la:
+ image: elementsproject/lightningd:latest
+ container_name: la
+ volumes:
+ - ./config/lightning:/root/.lightning
+ restart: unless-stopped
+ network_mode: host
+ lb:
+ image: elementsproject/lightningd:latest
+ container_name: lb
+ volumes:
+ - ./config/lightningb:/root/.lightning
+ restart: unless-stopped
+ network_mode: host
+ maria:
+ container_name: mariadb
+ image: mariadb:10.6.1
+ restart: always
+ command:
+ - --bind-address=0.0.0.0
+ - --port=3307
+ environment:
+ MARIADB_ROOT_PASSWORD: ${ROOT_PASSWORD}
+ volumes:
+ - ./mysql:/var/lib/mysql
+ network_mode: host