mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
add vagrant
Signed-off-by: enoch85 <github@hanssonit.se>
This commit is contained in:
parent
8acd7e7763
commit
731eb99177
18
vagrant/README.md
Normal file
18
vagrant/README.md
Normal file
@ -0,0 +1,18 @@
|
||||
# vagrant-nextcloud
|
||||
This repo contains all the Vagrant config to get an Ubuntu 18.04 VM with the latest version of Nextcloud installed.
|
||||
|
||||
# Setup
|
||||
|
||||
`vagrant up` will install everything
|
||||
|
||||
Go to [https://localhost:8080/](https://localhost:8080/) and access Nextcloud with credentials `ncadmin / nextcloud`
|
||||
|
||||
# Information
|
||||
|
||||
- `VagrantFile` contains instructions to run an inline script: `install.sh`
|
||||
- `install.sh` does the following
|
||||
- Clones https://github.com/nextcloud/vm
|
||||
- Runs `yes no | sudo bash nextcloud_install_production.sh` which uses the default values for each prompt
|
||||
|
||||
See https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh for default values.
|
||||
|
||||
11
vagrant/Vagrantfile
vendored
Normal file
11
vagrant/Vagrantfile
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "ubuntu/bionic64"
|
||||
config.vm.network "forwarded_port", guest: 443, host: 8080
|
||||
config.vm.provision "shell", path: "install.sh"
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = "2048"
|
||||
end
|
||||
config.vm.provider "vmware_desktop" do |v|
|
||||
v.vmx["memsize"] = "2048"
|
||||
end
|
||||
end
|
||||
8
vagrant/install.sh
Normal file
8
vagrant/install.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
git clone https://github.com/nextcloud/vm.git
|
||||
|
||||
cd vm
|
||||
|
||||
yes no | sudo bash nextcloud_install_production.sh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user