summaryrefslogtreecommitdiff
path: root/acme.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'acme.yaml')
-rw-r--r--acme.yaml139
1 files changed, 70 insertions, 69 deletions
diff --git a/acme.yaml b/acme.yaml
index 711720e..2b4d2e3 100644
--- a/acme.yaml
+++ b/acme.yaml
@@ -1,76 +1,77 @@
-type: io.trygvis.acme.apps.AcmeMyApp
-data:
- environment: ci
- dockerTag: development
----
-type: io.trygvis.acme.apps.AcmeMyApp
-data:
- environment: production
- dockerTag: master
----
-type: io.trygvis.acme.apps.AcmeOps
+- type: io.trygvis.acme.apps.AcmeMyApp
+ data:
+ environment: ci
+ dockerTag: development
+- type: io.trygvis.acme.apps.AcmeMyApp
+ data:
+ environment: production
+ dockerTag: master
---- # DNS configuration
-type: io.trygvis.rules.terraform.GoogleManagedZoneTerraformExpression
-data:
- name: "acme_zone"
+- type: io.trygvis.acme.apps.AcmeOps
+
+
+ # DNS configuration
+- type: io.trygvis.rules.terraform.GoogleManagedZoneTerraformExpression
+ data:
+ name: "acme_zone"
+
----
-type: io.trygvis.rules.machine.Machine
-data:
- name: acme-1
----
-type: io.trygvis.rules.dba.DbaMachineRole
-data:
- machine: acme-1
- roles:
- - ci-app
+- type: io.trygvis.rules.machine.Machine
+ data:
+ name: acme-1
----
-type: io.trygvis.rules.machine.MachineSpecificaiton
-data:
- mCpu: 2000
- memory: 2000
----
-type: io.trygvis.rules.machine.Machine
-data:
- name: acme-2
----
-type: io.trygvis.rules.dba.DbaMachineRole
-data:
- machine: acme-2
- roles:
- - ops
- - ci-db # This also runs the DB for the non-production environments to keep the other machines stateless
+- type: io.trygvis.rules.dba.DbaMachineRole
+ data:
+ machine: acme-1
+ roles:
+ - ci-app
+
----
-type: io.trygvis.rules.machine.Machine
-data:
- name: acme-3
----
-type: io.trygvis.rules.dba.DbaMachineRole
-data:
- machine: acme-3
- roles:
- - production-app
- - production-db
+- type: io.trygvis.rules.machine.MachineSpecificaiton
+ data:
+ mCpu: 2000
+ memory: 2000
-# Workstations
----
-type: io.trygvis.rules.machine.Machine
-data:
- name: ws-1
----
-type: io.trygvis.rules.machine.Machine
-data:
- name: ws-2
+- type: io.trygvis.rules.machine.Machine
+ data:
+ name: acme-2
---- # Wireguard VPN network
-type: io.trygvis.rules.wireguard.WgNet
-data:
- name: vpn0
- domain: vpn.acme.com
- linkCidr: 192.168.10.0/29
- networkCidr: 10.55.0.0/16
- networkBits: 24
+- type: io.trygvis.rules.dba.DbaMachineRole
+ data:
+ machine: acme-2
+ roles:
+ - ops
+ - ci-db # This also runs the DB for the non-production environments to keep the other machines stateless
+
+
+- type: io.trygvis.rules.machine.Machine
+ data:
+ name: acme-3
+
+- type: io.trygvis.rules.dba.DbaMachineRole
+ data:
+ machine: acme-3
+ roles:
+ - production-app
+ - production-db
+
+ # Workstations
+
+- type: io.trygvis.rules.machine.Machine
+ data:
+ name: ws-1
+
+- type: io.trygvis.rules.machine.Machine
+ data:
+ name: ws-2
+
+ # Wireguard VPN network
+- type: io.trygvis.rules.wireguard.WgNet
+ data:
+ name: vpn0
+ domain: vpn.acme.com
+ linkCidr: 192.168.10.0/29
+ networkCidr: 10.55.0.0/16
+ networkBits: 24
+ \ No newline at end of file