aboutsummaryrefslogtreecommitdiffstats
path: root/prod.yml
blob: 557fbe83a9feb08df8e4e36a5c4ccc308cd4208e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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: asoltys/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