docker-compose.yml 1009 Bytes
Newer Older
1
2
3
4
version: "3.1"

services:

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  faircoin:
    build:
      context: ./
      dockerfile: Dockerfile_faircoin
      args:
        source_repository: "https://github.com/faircoin/faircoin.git"
        RUNNER_UID: "${RUNNER_UID:-1000}"
        RUNNER_GID: "${RUNNER_GID:-1000}"
    container_name: electrumfairchainsx-faircoind
    restart: always
    user: "${RUNNER_UID:-1000}:${RUNNER_GID:-1000}"
    volumes:
      - fairchains:/home/faircoin/.faircoin2
      - ./scripts:/home/faircoin/scripts

TonyFord's avatar
fix    
TonyFord committed
20
  electrumfairchainsx:
21
22
23
    build:
      context: ./
      args:
24
25
26
27
28
29
30
        RUNNER_UID: "${RUNNER_UID:-1000}"
        RUNNER_GID: "${RUNNER_GID:-1000}"
    container_name: electrumfairchainsx
    command: ./efcx_server
    ports:
      - 51811:51811
      - 51812:51812
31
    user: "${RUNNER_UID}:${RUNNER_GID}"
32
33
    depends_on:
      - faircoin
TonyFord's avatar
ts    
TonyFord committed
34
    volumes:
35
36
37
38
39
40
      - fairchains:/home/faircoin/.fairchains
      - ./scripts:/home/faircoin/scripts
      - ${SSL_CONF}:/home/faircoin/scripts/ssl.conf

volumes:
  fairchains: