Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

feat: add terraform #6

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 0 additions & 117 deletions k8s/production.template.yaml

This file was deleted.

115 changes: 0 additions & 115 deletions k8s/staging.template.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions terraform/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.terraform.lock.hcl
.terraform
1 change: 1 addition & 0 deletions terraform/discord/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!config.yaml
33 changes: 33 additions & 0 deletions terraform/discord/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
level: info

cdn_url: ${cdn_url}
website_url: ${website_url}

http:
addr: "0.0.0.0"
port: 3000

discord:
guild_id: ${discord_guild_id}
token: ${discord_token}
channels:
activity_feed: "817375925271527449"
mod_logs: "989251544165777450"
mod_actor_tracker: "1080982942156869743"
events: "1015281319758004335"

mongo:
db: ${mongo_db}
mongo_uri: ${mongo_uri}

redis:
addresses:
- ${redis_address}
database: 1
master_name: mymaster
password: ${redis_password}
sentinel: true

health:
enabled: true
bind: 0.0.0.0:9200
Loading