Skip to content
Snippets Groups Projects
Forked from FairCoin.Co / faircoind
57 commits behind the upstream repository.
docker-compose.yml 723 B
version: "3.1"

services:

  faircoin:
    build:
      context: ./
      args:
        source_repository: "https://github.com/faircoin/faircoin.git"
        GITLAB_RUNNER_UID: "${GITLAB_RUNNER_UID}"
        GITLAB_RUNNER_GID: "${GITLAB_RUNNER_GID}"
        FAIRCOIN_CONF: "${FAIRCOIN_CONF}"
        FAIRCOIN_PORT: 40414
    container_name: FairCoin.Co-faircoind
    restart: always
    command: '-disablewallet -conf="${FAIRCOIN_CONF}" -port=40414 -blocknotify="${CI_PROJECT_DIR}/blocknotify.sh"'
#    command: '-disablewallet -conf="${FAIRCOIN_CONF}" -blocknotify="${BLOCKNOTIFY}"'
    network_mode: "host"
    user: "${GITLAB_RUNNER_UID}:${GITLAB_RUNNER_GID}"
    volumes:
      - ~/.faircoin2:/home/faircoin/.faircoin2