diff --git a/docker-host/setup/files/git.leftcoast.local b/docker-host/setup/files/git.lablad similarity index 66% rename from docker-host/setup/files/git.leftcoast.local rename to docker-host/setup/files/git.lablad index 7639de0..46b4164 100644 --- a/docker-host/setup/files/git.leftcoast.local +++ b/docker-host/setup/files/git.lablad @@ -1,10 +1,10 @@ # This file pertains to the Gitea service which is served under the FQDN: -# git.leftcoast.local +# git.lablad # The default port is listed under /vars/main.yml as 3000 as GITEA_PUB_PORT server { - server_name git.leftcoast.local; + server_name git.lablad; location / { - proxy_pass http://localhost:3000; + proxy_pass http://127.0.0.1:3000; } } diff --git a/docker-host/setup/tasks/dns.yml b/docker-host/setup/tasks/dns.yml new file mode 100644 index 0000000..5bc7cf9 --- /dev/null +++ b/docker-host/setup/tasks/dns.yml @@ -0,0 +1,15 @@ +# Further changes to DNS config are going to vary so heavily that I'm not +# even going to bother putting down anything else for dns configuration +# At this point basically just change /etc/resolv.conf to change dns targets +# and then add stuff to the /etc/hosts file as required +--- +- hosts: leftcoastlab + tasks: + - name: Install DNSMasq + become: yes + apt: + name: "{{ item }}" + update_cache: yes + loop: + - dnsmasq + diff --git a/docker-host/setup/tasks/nginx.yml b/docker-host/setup/tasks/nginx.yml index 4d52510..a0d0238 100644 --- a/docker-host/setup/tasks/nginx.yml +++ b/docker-host/setup/tasks/nginx.yml @@ -40,7 +40,7 @@ src: "{{ item }}" dest: /etc/nginx/sites-available/ loop: - - ../files/git.leftcoast.local + - ../files/git.lablad - name: Enable Sites file: @@ -48,7 +48,7 @@ dest: /etc/nginx/sites-enabled/{{item}} state: link loop: - - git.leftcoast.local + - git.lablad notify: - restart-nginx