From 6ddc1003b30fb542fc63bc2252a81ac5920d0d85 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 3 Aug 2021 05:47:29 -0400 Subject: prod compose --- docker-compose.prod.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docker-compose.prod.yml 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 -- cgit v1.2.3