Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
don
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Déploiement
Releases
Registre de conteneurs
Registre de modèles
Opération
Environnements
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Conditions générales et politique de confidentialité
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Ce projet est archivé. Le dépôt et les autres ressources du projet sont en lecture seule.
Afficher davantage de fils d'Ariane
La Quadrature du Net
Site de don
don
Validations
f0624065
Valider
f0624065
rédigé
3 years ago
par
nono
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Ajout d'un fichier Vagrant
parent
f06d6751
Branches
Branches contenant la validation
Étiquettes
Étiquettes contenant la validation
3 requêtes de fusion
!162
Testing with ansible vagran
,
!160
Remove piplomes, update fix login, fix campaign presentation
,
!155
Resolve "Configurer le fichier Vagrant pour les test en local"
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
Vagrantfile
+6
-25
6 ajouts, 25 suppressions
Vagrantfile
avec
6 ajouts
et
25 suppressions
Vagrantfile
+
6
−
25
Voir le fichier @
f0624065
...
...
@@ -23,7 +23,7 @@ Vagrant.configure("2") do |config|
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# NOTE: This will enable public access to the opened port
config
.
vm
.
network
"forwarded_port"
,
guest:
80
00
,
host:
8383
config
.
vm
.
network
"forwarded_port"
,
guest:
80
,
host:
8383
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine and only allow access
...
...
@@ -32,7 +32,7 @@ Vagrant.configure("2") do |config|
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config
.
vm
.
network
"private_network"
,
ip:
"192.168.56.
1
"
config
.
vm
.
network
"private_network"
,
ip:
"192.168.56.
42
"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
...
...
@@ -43,28 +43,9 @@ Vagrant.configure("2") do |config|
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
#
config.vm.synced_folder ".
./data", "/vagrant_data
"
config
.
vm
.
synced_folder
".
/"
,
"/home/don/don
"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
#
# View the documentation for the provider you are using for more
# information on available options.
# Enable provisioning with a shell script. Additional provisioners such as
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# apt-get update
# apt-get install -y apache2
# SHELL
config
.
vm
.
provision
"ansible"
do
|
ansible
|
ansible
.
playbook
=
"ansible/playbook.yml"
end
end
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter