Created
January 4, 2022 10:39
-
-
Save heysamtexas/1de4ad62a2c439df1ad513efb828a39b to your computer and use it in GitHub Desktop.
Production-ready Tezos full-archive node docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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