Skip to content

Commit dea7658

Browse files
committed
Add changes
1 parent b431d6d commit dea7658

6 files changed

Lines changed: 26 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ enviroments/**/k8/**/configMaps/*cert*
1313
environments/*/secrets/**/*
1414
# Leaving for now while PR is merged
1515
environments/*/k8
16+
# Meant to not break anything. Might remove later
17+
environments/self-hosted-test
1618
*.retry
1719
*.tfstate*
1820
terraform/credentials.tfvars

ansible/group_vars/all.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
---
2+
# Defaults
3+
github_domain: api.github.com
4+
github_protocol: https
5+
26
# ops
37
ops_slack_channel_url: https://hooks.slack.com/services/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
48
pager_duty_key: testkey
@@ -61,6 +65,7 @@ core_file_dir: /docker/app-cores
6165
# agreeable-egret
6266
agreeable_egret_hostname: egret.{{ domain }}
6367
egret_pg_database: egret
68+
egret_port: 65520
6469

6570
#angular
6671
angular_url: https://app.{{ domain }}
@@ -96,6 +101,7 @@ charon_port: 53
96101
# clio
97102
clio_host_address: clio
98103
clio_port: 8008
104+
clio_mongo_database: clio
99105

100106
# consul
101107
consul_api_port: 8500
@@ -121,6 +127,7 @@ log_facility: local7
121127

122128
# docker
123129
docker_port: 4242
130+
docker_config: docks
124131

125132
# docker-listener
126133
docker_listener_rollbar_key: 7b5924eccfff415d9fc00c051811e9d7

ansible/group_vars/alpha-mongo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ container_run_args: ''
44

55
storage_size_gb: 50
66

7+
volume_id: "{{ mongo_volume_id }}"
8+
79
volume_mounts:
810
- name: "{{ name }}-db-claim"
911
path: /data/db

ansible/group_vars/alpha-rabbitmq.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ hosted_ports: [ "{{ rabbit_port }}", 15672 ]
55

66
storage_size_gb: 50
77

8+
volume_id: "{{ rabbit_volume_id }}"
9+
810
volume_mounts:
911
- name: "{{ name }}-db-claim"
1012
path: /var/lib/rabbitmq

ansible/group_vars/alpha-redis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ hosted_ports: ["{{ redis_port }}"]
33

44
storage_size_gb: 50
55

6+
volume_id: "{{ redis_volume_id }}"
7+
68
volume_mounts:
79
- name: "{{ name }}-db-claim"
810
path: /data

ansible/roles/content-domain-proxy/tasks/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
---
2+
- name: create chained cert
3+
tags: [ certs ]
4+
shell: |
5+
cat {{ domains_root }}/{{ user_content_domain }}/cert.pem > {{ domains_root }}/{{ user_content_domain }}/chained.pem
6+
echo "" >> {{ domains_root }}/{{ user_content_domain }}/chained.pem # Add newline
7+
cat {{ domains_root }}/{{ user_content_domain }}/ca.pem > {{ domains_root }}/{{ user_content_domain }}/chained.pem
8+
9+
- name: create dhparam.pem
10+
tags: [ certs ]
11+
command: openssl dhparam -out {{ domains_root }}/{{ user_content_domain }}/dhparam.pem 2048
12+
213
- set_fact:
314
ca_data: "{{ lookup('file', '{{ domains_root }}/{{ user_content_domain }}/ca.pem') }}"
415
- set_fact:

0 commit comments

Comments
 (0)