Skip to content

Commit

Permalink
build: Apply changes (#8)
Browse files Browse the repository at this point in the history
* refactor: code base dev

* fix: stupid output...

* feat: add cloudflare for domain name configs

* feat: Refactor structure and add ansible playbook for deploying

* feat: Add basic auth (#7)

* feat: Add basic auth

* fix: fmt terraform

* feat: monitoring with Prometheus-Grafana

* refactor: dns records

* feat: add traefik dashboard

* feat: add labels for easier query
  • Loading branch information
kaitoz11 authored Jul 7, 2023
1 parent e9edbe4 commit ebd27cd
Show file tree
Hide file tree
Showing 12 changed files with 7,115 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ override.tf.json
*_override.tf
*_override.tf.json

.vscode

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

Expand Down
17 changes: 16 additions & 1 deletion ansible/playbooks/Profile-set-up.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,29 @@
state: present
update_cache: true

- name: Copy prometheus configs
ansible.builtin.copy:
src: ../../prometheus/
dest: prometheus/
remote_src: false
directory_mode: '0755'
mode: '0755'

- name: Copy grafana configs
ansible.builtin.copy:
src: ../../grafana/
dest: grafana/
remote_src: false
directory_mode: '0755'
mode: '0755'

- name: Copy .env file
ansible.builtin.copy:
src: ../../profile/.env
dest: .env
remote_src: false
mode: '0755'


- name: Copy docker compose file
ansible.builtin.copy:
src: ../../profile/docker-compose-dev.yml
Expand Down
12 changes: 12 additions & 0 deletions grafana/dashboards/dashboard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: 1

providers:
- name: 'Prometheus'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards
Loading

0 comments on commit ebd27cd

Please sign in to comment.