Commit b963808b8f985a9c27ab24c04d66adb67ba3180e
1 parent
c07ed7a0
Exists in
sei-v3.0.0-oracle-dockerimages
and in
3 other branches
Atualização do script de inicialização dos containers do SEI
Showing
2 changed files
with
6 additions
and
5 deletions
Show diff stats
Vagrantfile
... | ... | @@ -24,8 +24,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
24 | 24 | # Every Vagrant virtual environment requires a box to build off of. |
25 | 25 | # config.vm.box_download_checksum = "76a2a61de2d89f6cfd4d795e57cc4406" |
26 | 26 | # config.vm.box_download_checksum_type = "md5" |
27 | - config.vm.box = "minimum/centos-7-docker" | |
28 | - #config.vm.box = "centos/7" | |
27 | + # config.vm.box = "minimum/centos-7-docker" | |
28 | + # config.vm.box = "centos/7" | |
29 | + config.vm.box = "ubuntu/trusty64" | |
29 | 30 | |
30 | 31 | # Disable automatic box update checking. If you disable this, then |
31 | 32 | # boxes will only be checked for updates when the user runs | ... | ... |
Vagrantfile_Distrib
... | ... | @@ -11,8 +11,8 @@ Vagrant.configure(2) do |config| |
11 | 11 | config.vm.box = "processoeletronico/sei-2.5.2" |
12 | 12 | |
13 | 13 | # Usuários ssh de acesso à máquina virtual |
14 | - config.ssh.username = "vagrant" | |
15 | - config.ssh.password = "vagrant" | |
14 | + # config.ssh.username = "vagrant" | |
15 | + # config.ssh.password = "vagrant" | |
16 | 16 | |
17 | 17 | # Configuração do diretório local onde deverá estar disponibilizado os códigos-fontes do SEI (sei, sip, infra_php, infra_css, infra_js) |
18 | 18 | config.vm.synced_folder ".", "/mnt/sei/src", mount_options: ["dmode=777", "fmode=777"] |
... | ... | @@ -25,5 +25,5 @@ Vagrant.configure(2) do |config| |
25 | 25 | config.vm.network :forwarded_port, guest: 8983, host: 8983 # Solr Indexer (Jetty) |
26 | 26 | |
27 | 27 | # Inicialização dos containers em caso de reinicialização da máquina host |
28 | - config.vm.provision "shell", run: "always", inline: "docker start sei_db sei_solr sei_jod sei_www" | |
28 | + config.vm.provision "shell", run: "always", inline: "docker restart sei_solr && docker restart sei_jod && docker restart sei_db && docker restart sei_www" | |
29 | 29 | end | ... | ... |