Hastebin#

Hastebin Sharing code is a good thing, and it should be really easy to do it.

amd64 arm64 armv7

Information#

Docker Image: Github
Current Image Version: master

SETUP#

Enabling Hastebin#

Command:#

vlab set hastebin.enable True

File alteration:#

set the appropriate service settings in settings/config.yml to true

eg.

hastebin
enable: True

Finalising changes:#

run: vlab update_one service=hastebin

FIRST RUN#

!!! DEVELOPERS: make sure that you include any information that the user requires to get started, below. !!!

!!! Below are some examples with headings, and with some example instructions !!!

ADMINISTRATOR SETUP#

Navigate to https://False/admin

Create an account with your desired username; as this is the first user, hastebin makes this account the administrator.

SMTP/ MAIL#

  1. run vlab decrypt to decrypt the vault.yml file

  2. make some changes

SMTP Settings#
smtp:
host:
port:
user:
pass:
from_email:
from_name:
  1. run vlab update_one service=hastebin to complete the changes

ACCESS#

hastebin (HTTPS) link: https://hastebin.vivumlab.xyz/ hastebin (HTTP) link: http://hastebin.vivumlab.xyz/

OPTIONS#

HTTPS_ONLY#

Default: False Options: True/False

Command:#

vlab set hastebin.https_only True

File alteration:#

set the appropriate service settings in settings/prod-config.yml to true

eg.

hastebin
https_only: True

AUTH#

Default: False Options: True/False

Command:#

vlab set hastebin.auth True

File alteration:#

set the appropriate service settings in settings/prod-config.yml to true

eg.

hastebin
auth: True

DOMAIN#

Default: False NOTE: include the sitename and top level domain suffix. eg. name.com, site.net

Command:#

vlab set hastebin.domain hastebin.com

File alteration:#

set the appropriate service settings in settings/prod-config.yml to true

eg.

hastebin
domain: hastebin.com

SUBDOMAIN#

Default: hastebin NOTE: Periods/ delimiters are not required. eg. 'media' will set the full URL as 'media.vivumlab.xyz'

Command:#

vlab set hastebin.subdomain media

File alteration:#

set the appropriate service settings in settings/prod-config.yml to true

eg.

hastebin
subdomain: media

VERSION#

Default: master NOTE: Ensure that the version exists

Command:#

vlab set hastebin.server_version 2.7

File alteration:#

set the appropriate service settings in settings/prod-config.yml to true

eg.

hastebin
version: 2.7

Finalising changes:#

run: vlab update_one service=hastebin

Need more help?#

Further information regarding services can be found. \ General Information can be found in the documentation. \ Additional assistance can be found on our Contact Us page.