nc-env / templates / template13-talk-hpb /
@pmarini pmarini authored on 13 Apr 2022
..
artifacts initial commit 3 years ago
Readme.md initial commit 3 years ago
Vagrantfile initial commit 3 years ago
provision.sh initial commit 3 years ago
Readme.md

Stand-alone Nextcloud server

Setup

  • Assuming that the copy of the template is called talk-hpb, move to folder talk-hpb.
  • Check the content of folder artifacts
File name Description
nextcloud-spreed-repository.list APT Source File for Talk HPB repositories
nextcloud-spreed-signaling-server.conf Signaling Server configuration file
talk-hpb-signaling-nginx-site.conf Nginx site configuration file
mkcert mkcert command line utility to be downloaded here. Pick the latest binary for amd64 and rename it to mkcert
rootCA.pem The rootCA previously created in your host machine
rootCA-key.pem The rootCA key previously created in your host machine
  • In file provision.sh, give a sensible value to the following environment variables:
    • MACHINE_HOSTNAME
    • NEXTCLOUD_URL
    • CUSTOMER_ID
  • Create folder log
  • Open Vagrantfile and change the value of variable lxd.name. It makes sense to give the same name as the folder, in this example talk-hpb.
  • Open provision.sh
    • change the value of variable MACHINE_HOSTNAME. It makes sense to give the same name as the folder, plus the domain, in this example talk-hpb.localenv.com.
  • Run vagrant up > log/provisioning.log
  • Make sure your system is able to resolve the domain name that you specified in variable MACHINE_HOSTNAME, for example by adding an entry in /etc/hosts
  • Start using your environment