aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.staging.yml
blob: c29ed3aa98425debeff4a9f393f2b05262b71bab (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
version: '3.6'
services:

  app:
    depends_on:
      - maria
      - bitcoin
      - liquid
      - lnd
    container_name: app
    image: coinos-server-staging:0.0.1
    ports:
      - '3118:3118'
      - '3119:3119'
    environment:
      NODE_ENV: development
    volumes:
      - ./config:/app/config
    command: node index
    
  ui:
    profiles:
       - donotstart

  nginx: 
    depends_on:
    - app
    image: nginx:1.20.2
    container_name: nginx
    volumes:
      - type: bind 
        source: ./config/nginx/default.conf
        target: /etc/nginx/conf.d/default.conf
      - ../coinos-ui/dist:/coinos
    ports:
      - 80:80

networks: 
  default: 
    external: 
      name: net