Skip to content

Instantly share code, notes, and snippets.

@undernewmanagement
Created January 4, 2022 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save undernewmanagement/1de4ad62a2c439df1ad513efb828a39b to your computer and use it in GitHub Desktop.
Save undernewmanagement/1de4ad62a2c439df1ad513efb828a39b to your computer and use it in GitHub Desktop.
Production-ready Tezos full-archive node docker-compose
version: "2"
services:
node:
image: tezos/tezos:v11.0
hostname: node
command: tezos-node --rpc-addr 0.0.0.0 --net-addr :9732 --network mainnet --history-mode archive
ports:
- "9732:9732"
- "8732:8732"
expose:
- "8732"
volumes:
- ./node_data:/var/run/tezos/node
- ./client_data:/var/run/tezos/client
restart: on-failure
upgrader:
image: tezos/tezos:v11.0
hostname: node
command: tezos-upgrade-storage
volumes:
- ./node_data:/var/run/tezos/node
- ./client_data:/var/run/tezos/client
restart: on-failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment