Skip to content

Instantly share code, notes, and snippets.

@heysamtexas
Created January 4, 2022 10:39
Show Gist options
  • Save heysamtexas/1de4ad62a2c439df1ad513efb828a39b to your computer and use it in GitHub Desktop.
Save heysamtexas/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