diff --git a/ansible/roles/docker/files/yourls/docker-compose.yml b/ansible/roles/docker/files/yourls/docker-compose.yml index e5bbfef..20a2999 100644 --- a/ansible/roles/docker/files/yourls/docker-compose.yml +++ b/ansible/roles/docker/files/yourls/docker-compose.yml @@ -12,12 +12,12 @@ services: - YOURLS_DB_USER=yourls - YOURLS_USER=jake - YOURLS_PASS={{ yourls.user_password }} - - YOURLS_SITE=https://go.theorangeone.net + - YOURLS_SITE=https://0rng.one volumes: - ./index.html:/var/www/html/index.html labels: - "traefik.enable=true" - - "traefik.http.routers.yourls.rule=Host(`go.theorangeone.net`)" + - "traefik.http.routers.yourls.rule=Host(`go.theorangeone.net`) || Host(`0rng.one`)" - "traefik.http.routers.yourls.tls=true" - "traefik.http.routers.yourls.tls.certresolver=le" diff --git a/terraform/0rng.one.tf b/terraform/0rng.one.tf index c4d4fe5..e091c6c 100644 --- a/terraform/0rng.one.tf +++ b/terraform/0rng.one.tf @@ -9,3 +9,11 @@ resource "cloudflare_record" "orngone_git" { type = "A" ttl = 1 } + +resource "cloudflare_record" "orngone_yourls" { + zone_id = cloudflare_zone.orngone.id + name = "@" + value = vultr_server.casey.main_ip + type = "A" + ttl = 1 +}