ish_models 3.1.0.25 → 3.1.0.26

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76d8038103197bf7105917ad1738790390e318b0d954fde670fb6c4d0794bf2f
4
- data.tar.gz: 615a22baee9b09394ae9787aa0a8f48c741a7f74e84fc4f873e3eaa42232b4d8
3
+ metadata.gz: 97f97bdcb51eb6182a726769934e5153bb3a0822ee4cf1aefcd556531cacbbb2
4
+ data.tar.gz: dfa075773c4ae11888b6000d7e1d9679a49bfe3fc230c133359b5138f01d8f7b
5
5
  SHA512:
6
- metadata.gz: 8754fd24f4ee6856b8b193b00d09102810bb3f3d1bb733246baedef3639ff129823708137508077a12235b4c08351187a7dae7f515c35a98d3228ac0e1307c2e
7
- data.tar.gz: 5bbae27bb76fb39627418e07f26ee6f0191dbbe1d2c698485295c67f861067af8f810595e638afc841bfe4b7fc8db1f177919a1190f0da4c3881b142a78a9af3
6
+ metadata.gz: 7fbb361e4c1fdbd4dae04a1bea306a98cc3ecf4fa3d79eadb2afaf67878400d50648d076aef765ee385541fa7b31f0cd92a8d3cc9705362684fc0acc6396e0f3
7
+ data.tar.gz: feac5b484692d282f0ee2b0cc57967989a34c978396be2ac461293baaa0078332b88b1a3cfa357e333daef38e3f2d69a0cd927db30590f340cc641614b4bdcd8
@@ -31,11 +31,13 @@ class WcoHosting::Serverhost
31
31
  def create_appliance app
32
32
  # puts! app, 'Serverhost#create_appliance'
33
33
 
34
+ create_subdomain( app )
35
+ sleep 5
36
+
34
37
  create_volume( app )
35
38
  add_docker_service( app )
36
39
  add_nginx_site( app )
37
40
  # load_database( app )
38
- create_subdomain( app )
39
41
 
40
42
  update({ next_port: app.serverhost.next_port + 1 })
41
43
  end
@@ -48,6 +50,12 @@ class WcoHosting::Serverhost
48
50
  data: app.serverhost.public_ip,
49
51
  )
50
52
  client.domain_records.create(record, for_domain: app.domain )
53
+ record = DropletKit::DomainRecord.new(
54
+ type: 'AAAA',
55
+ name: app.subdomain,
56
+ data: app.serverhost.public_ip,
57
+ )
58
+ client.domain_records.create(record, for_domain: app.domain )
51
59
  end
52
60
 
53
61
  ## obsolete _vp_ 2023-12-23
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.25
4
+ version: 3.1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - mac_a2141