Skip to content

Commit

Permalink
mount farmer identity
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Nov 1, 2024
1 parent f9c2f9e commit d66995f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions templates/scripts/create_farmer_node_compose_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ services:
image: ghcr.io/\${NODE_ORG}/farmer:\${NODE_TAG}
volumes:
- /home/$USER/subspace/farmer_data:/var/subspace:rw
- /home/$USER/subspace/identity.bin:/var/subspace/identity.bin:ro
restart: unless-stopped
ports:
- "30533:30533/tcp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ resource "null_resource" "start-farmer-nodes" {
timeout = "300s"
}

# copy farmer identity files (todo: reset this after)
provisioner "file" {
source = "./identity.bin"
destination = "/home/${var.ssh_user}/subspace/identity.bin"
Expand Down

0 comments on commit d66995f

Please sign in to comment.