Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
J
jasette-facil
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
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneur
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
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
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
facil
jasette-facil
Validations
8971bb8c
Valider
8971bb8c
rédigé
6 years ago
par
trevDev()
Validation de
nightpool
6 years ago
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
update vagrant configs (#8706)
parent
5aae71cf
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
Étiquettes contenant la validation
Aucune requête de fusion associée trouvée
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
.env.vagrant
+1
-1
1 ajout, 1 suppression
.env.vagrant
Vagrantfile
+10
-4
10 ajouts, 4 suppressions
Vagrantfile
avec
11 ajouts
et
5 suppressions
.env.vagrant
+
1
−
1
Voir le fichier @
8971bb8c
VAGRANT=true
VAGRANT=true
LOCAL_DOMAIN=mastodon.dev
LOCAL_DOMAIN=mastodon.local
\ No newline at end of file
Ce diff est replié.
Cliquez pour l'agrandir.
Vagrantfile
+
10
−
4
Voir le fichier @
8971bb8c
...
@@ -85,6 +85,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
...
@@ -85,6 +85,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config
.
vm
.
provider
:virtualbox
do
|
vb
|
config
.
vm
.
provider
:virtualbox
do
|
vb
|
vb
.
name
=
"mastodon"
vb
.
name
=
"mastodon"
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
"2048"
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
"2048"
]
# Increase the number of CPUs. Uncomment and adjust to
# increase performance
# vb.customize ["modifyvm", :id, "--cpus", "3"]
# Disable VirtualBox DNS proxy to skip long-delay IPv6 resolutions.
# Disable VirtualBox DNS proxy to skip long-delay IPv6 resolutions.
# https://github.com/mitchellh/vagrant/issues/1172
# https://github.com/mitchellh/vagrant/issues/1172
...
@@ -97,19 +100,22 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
...
@@ -97,19 +100,22 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
end
config
.
vm
.
hostname
=
"mastodon.dev"
# This uses the vagrant-hostsupdater plugin, and lets you
# This uses the vagrant-hostsupdater plugin, and lets you
# access the development site at http://mastodon.dev.
# access the development site at http://mastodon.local.
# If you change it, also change it in .env.vagrant before provisioning
# the vagrant server to update the development build.
#
# To install:
# To install:
# $ vagrant plugin install vagrant-hostsupdater
# $ vagrant plugin install vagrant-hostsupdater
config
.
vm
.
hostname
=
"mastodon.local"
if
defined?
(
VagrantPlugins
::
HostsUpdater
)
if
defined?
(
VagrantPlugins
::
HostsUpdater
)
config
.
vm
.
network
:private_network
,
ip:
"192.168.42.42"
,
nictype:
"virtio"
config
.
vm
.
network
:private_network
,
ip:
"192.168.42.42"
,
nictype:
"virtio"
config
.
hostsupdater
.
remove_on_suspend
=
false
config
.
hostsupdater
.
remove_on_suspend
=
false
end
end
if
config
.
vm
.
networks
.
any?
{
|
type
,
options
|
type
==
:private_network
}
if
config
.
vm
.
networks
.
any?
{
|
type
,
options
|
type
==
:private_network
}
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
type:
"nfs"
,
mount_options:
[
'rw'
,
'vers=3'
,
'tcp'
]
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
type:
"nfs"
,
mount_options:
[
'rw'
,
'vers=3'
,
'tcp'
,
'actimeo=1'
]
else
else
config
.
vm
.
synced_folder
"."
,
"/vagrant"
config
.
vm
.
synced_folder
"."
,
"/vagrant"
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