forked from MedShake/MedShakeEHR-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
45 lines (41 loc) · 1.57 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This file is part of MedShakeEHR.
#
# Copyright (c) 2021
# Michaël Val
# MedShakeEHR is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# MedShakeEHR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MedShakeEHR. If not, see <http://www.gnu.org/licenses/>.
# MedshakeEHR Vagrantfile
#
# @author Michaël Val
Vagrant.configure("2") do |config|
config.vm.box = "debian/bullseye64"
# Pour personnaliser sa clef ssh
#config.ssh.insert_key = false
#config.ssh.private_key_path = ["~/.ssh/id_rsa", "~/.vagrant.d/insecure_private_key"]
#config.vm.provision "file", source: "~/.ssh/id_rsa.pub", destination: "~/.ssh/authorized_keys"
#Pour personnaliser les spécifications de la machine
config.vm.provider "virtualbox" do |v|
v.memory = 256
v.cpus = 1
end
config.vm.define 'msehr' do |node|
node.vm.hostname ='msehr.local'
node.vm.provision "ansible" do |ansible|
#ansible.verbose = "vvv"
ansible.playbook = "tools/vagrant/main.yml"
end
config.vm.network "private_network", ip: "55.55.55.5"
# Pour tester Dicom et Phonecapture sur son réseau local
#config.vm.network "public_network"
end
end