Skip to content

Instantly share code, notes, and snippets.

@tyler-smith
Last active April 20, 2020 15:17
Show Gist options
  • Save tyler-smith/768c143c17ca0a66385ad07a54b859a1 to your computer and use it in GitHub Desktop.
Save tyler-smith/768c143c17ca0a66385ad07a54b859a1 to your computer and use it in GitHub Desktop.
version: '3.5'
gecko:
image: "/path/to/internal/repo/gecko"
command: [
"./build/ava",
"--db-dir=/var/lib/gecko",
"--staking-tls-cert-file=/var/lib/gecko/keys/staker.crt",
"--staking-tls-key-file=/var/lib/gecko/keys/staker.key"
]
ports:
- "9650:9650"
- "9651:9651"
volumes:
- /mnt/gecko:/var/lib/gecko
restart: on-failure
logging:
driver: "json-file"
options:
max-file: "1"
max-size: "100M"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment