ish_models 3.1.0.24 → 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: 959f1a8fb81000fc4ffbc104e01cd7fba9791360644300834a5863621df57b08
4
- data.tar.gz: c796dcb26096dc78550f4923a088a1f645bf869cdf94b23747a691a4c4d70e99
3
+ metadata.gz: 97f97bdcb51eb6182a726769934e5153bb3a0822ee4cf1aefcd556531cacbbb2
4
+ data.tar.gz: dfa075773c4ae11888b6000d7e1d9679a49bfe3fc230c133359b5138f01d8f7b
5
5
  SHA512:
6
- metadata.gz: 352115eab59c287cb05dc18f6b0ee4dbe927456eef2fd2c930fde8c1822f3bb4802c2c71e3ad6a0603a08dd4dd849741154493d5bcee7e31e1b6a87704837841
7
- data.tar.gz: a47b4504aed94102c3860c91f5cfac86e8f1c0a4c1c41de479d33a0825f4ea24081713a13db0e29e714271db1750bc98ef62e589e49a63d26376e34a0e88f98e
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
@@ -5,6 +5,6 @@ server {
5
5
  location / {
6
6
  proxy_pass http://127.0.0.1:<%= @app.port %>/;
7
7
  }
8
- ssl_certificate /etc/letsencrypt/live/<%= @app.host %>/fullchain.pem; # managed by Certbot
9
- ssl_certificate_key /etc/letsencrypt/live/<%= @app.host %>/privkey.pem; # managed by Certbot
8
+ ssl_certificate /etc/letsencrypt/live/pox.bar/fullchain.pem; # managed by Certbot
9
+ ssl_certificate_key /etc/letsencrypt/live/pox.bar/privkey.pem; # managed by Certbot
10
10
  }
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.24
4
+ version: 3.1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - mac_a2141