mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-11 17:35:20 +08:00
31 lines
837 B
YAML
31 lines
837 B
YAML
# This docker-compose file is for spinning up a blockstack-core node and api
|
|
version: '2'
|
|
services:
|
|
blockstack-core:
|
|
image: 'quay.io/blockstack/blockstack-core:master'
|
|
command: 'blockstack-core start --foreground --debug'
|
|
volumes:
|
|
- './data/core/server/:/root/.blockstack-server/'
|
|
- './data/core/api/:/root/.blockstack/'
|
|
restart: always
|
|
ports:
|
|
- "6264:6264"
|
|
networks:
|
|
- "api"
|
|
blockstack-api:
|
|
image: 'quay.io/blockstack/blockstack-core:master'
|
|
command: blockstack api start-foreground -y --debug --password dummywalletpassword
|
|
ports:
|
|
- "6270:6270"
|
|
volumes:
|
|
- './data/api:/root/.blockstack'
|
|
- './data/api/tmp:/tmp'
|
|
environment:
|
|
- BLOCKSTACK_CLIENT_INTERACTIVE_YES=0
|
|
restart: always
|
|
networks:
|
|
- "api"
|
|
|
|
networks:
|
|
api: null
|