forked from bitcoin/bitcoin
/
docker-compose.yml
26 lines (25 loc) · 933 Bytes
/
docker-compose.yml
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
# Copyright (c) 2019 Crypto and Coffee | https://cryptoandcoffee.com/ however
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Maintained by Crypto and Coffee | https://cryptoandcoffee.com
version: '3.7'
services:
globaltoken:
build:
context: ./
container_name: globaltoken
image: globaltoken
restart: unless-stopped
# deploy: #deploy endpoints for swarm
# endpoint_mode: dnsrr
# mode: global
# placement:
# constraints:
# - node.hostname == wildpool
# ports: #exposing ports is optional
# - target: 9319
# mode: host
# published: 9319
# volumes: #custom volume mount points
# - ./globaltoken.conf:/root/.globaltoken/globaltoken.conf
# command: bash -c "/usr/local/bin/globaltokend -datadir=/root/.globaltoken/ -conf=/root/.globaltoken/globaltoken.conf"