This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/roles/coder/vars/main.yml

36 lines
981 B
YAML
Raw Normal View History

2023-12-13 01:43:15 +00:00
---
2023-12-14 01:20:13 +00:00
coder_svc:
2023-12-13 01:43:15 +00:00
domain: coder.serguzim.me
2023-12-04 17:38:13 +00:00
additional_domains:
- "*.coder.serguzim.me"
2023-12-13 01:43:15 +00:00
caddy_extra: import acmedns
2023-12-04 17:38:13 +00:00
name: coder
port: 7080
db:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
ssh_port: 22
ssh_port_alt: 3022
2023-12-14 01:20:13 +00:00
coder_env:
2023-12-04 17:38:13 +00:00
CODER_ADDRESS: "0.0.0.0:7080"
2023-12-13 01:43:15 +00:00
CODER_ACCESS_URL: https://{{ svc.domain }}
2023-12-04 17:38:13 +00:00
CODER_WILDCARD_ACCESS_URL: "*.{{ svc.domain }}"
2023-12-13 01:43:15 +00:00
CODER_PG_CONNECTION_URL: postgres://{{ vault_coder.db.user }}:{{ vault_coder.db.pass }}@{{ svc.db.host }}:{{ svc.db.port }}/coder?sslmode=verify-full
2023-12-04 17:38:13 +00:00
2023-12-13 01:43:15 +00:00
CODER_OIDC_ISSUER_URL: https://auth.serguzim.me/application/o/coder-serguzim-me/
2023-12-04 17:38:13 +00:00
CODER_OIDC_CLIENT_ID: "{{ vault_coder.oidc_client.id }}"
CODER_OIDC_CLIENT_SECRET: "{{ vault_coder.oidc_client.secret }}"
2023-12-14 01:20:13 +00:00
coder_compose:
2023-12-04 17:38:13 +00:00
watchtower: true
image: ghcr.io/coder/coder:latest
volumes:
2023-12-13 01:43:15 +00:00
- /var/run/docker.sock:/var/run/docker.sock
2023-12-13 00:11:54 +00:00
file:
services:
app:
group_add:
2023-12-13 01:43:15 +00:00
- "972" # docker group on host