Remove coder
This commit is contained in:
parent
ad2d3c6c06
commit
0df0401463
6 changed files with 0 additions and 62 deletions
|
@ -4,16 +4,6 @@
|
|||
"domain": "serguzim.me",
|
||||
"host": "node002"
|
||||
},
|
||||
"coder": {
|
||||
"target": "coder",
|
||||
"domain": "serguzim.me",
|
||||
"host": "node002"
|
||||
},
|
||||
"coder-wildcard": {
|
||||
"target": "*.coder",
|
||||
"domain": "serguzim.me",
|
||||
"alias": "coder"
|
||||
},
|
||||
"faas": {
|
||||
"target": "faas",
|
||||
"domain": "serguzim.me",
|
||||
|
|
|
@ -71,9 +71,7 @@ D("serguzim.me", REG_OVH, DnsProvider(DSP_OVH),
|
|||
|
||||
TLSA("_25._tcp.mail", 3, 1, 1, "e66a608a3ec459bda7fb1f2d500b8abeb78f2910f26641204b6bc454b8aa2a49"),
|
||||
|
||||
acme_challenge("coder", "92924f7c-0859-4941-9e3d-2ecedfb21c1b"),
|
||||
acme_challenge("db", "ca2c86c0-ff3d-458a-89e0-11bcfd2543e4"),
|
||||
acme_challenge("registry", "18a42983-3d19-4c17-8213-fc275a8be721"),
|
||||
|
||||
verify_amazon_ses([
|
||||
"dd4g333vxgahaf3rh3dafdx6g7kq7t7z",
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
- common
|
||||
|
||||
- acme-dns
|
||||
- coder
|
||||
- faas
|
||||
- forgejo
|
||||
- forgejo-runner
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
tags: [acme-dns, acme_dns, certificates]
|
||||
- role: authentik
|
||||
tags: [authentik, authentication]
|
||||
- role: coder
|
||||
tags: [coder, development]
|
||||
- role: extra_services
|
||||
tags: [extra-services]
|
||||
- role: faas
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
|
||||
- name: Deploy {{ svc.name }}
|
||||
vars:
|
||||
svc: "{{ coder_svc }}"
|
||||
env: "{{ coder_env }}"
|
||||
compose: "{{ coder_compose }}"
|
||||
block:
|
||||
- name: Import tasks to deploy common service
|
||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
|
@ -1,35 +0,0 @@
|
|||
---
|
||||
coder_svc:
|
||||
domain: coder.serguzim.me
|
||||
additional_domains:
|
||||
- "*.coder.serguzim.me"
|
||||
caddy_extra: import acmedns
|
||||
name: coder
|
||||
port: 7080
|
||||
db:
|
||||
host: "{{ postgres.host }}"
|
||||
port: "{{ postgres.port }}"
|
||||
ssh_port: 22
|
||||
ssh_port_alt: 3022
|
||||
|
||||
coder_env:
|
||||
CODER_ADDRESS: "0.0.0.0:7080"
|
||||
CODER_ACCESS_URL: https://{{ svc.domain }}
|
||||
CODER_WILDCARD_ACCESS_URL: "*.{{ svc.domain }}"
|
||||
|
||||
CODER_PG_CONNECTION_URL: postgres://{{ vault_coder.db.user }}:{{ vault_coder.db.pass }}@{{ svc.db.host }}:{{ svc.db.port }}/coder?sslmode=verify-full
|
||||
|
||||
CODER_OIDC_ISSUER_URL: https://auth.serguzim.me/application/o/coder-serguzim-me/
|
||||
CODER_OIDC_CLIENT_ID: "{{ vault_coder.oidc_client.id }}"
|
||||
CODER_OIDC_CLIENT_SECRET: "{{ vault_coder.oidc_client.secret }}"
|
||||
|
||||
coder_compose:
|
||||
watchtower: true
|
||||
image: ghcr.io/coder/coder:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
file:
|
||||
services:
|
||||
app:
|
||||
group_add:
|
||||
- "972" # docker group on host
|
Loading…
Reference in a new issue