Commit graph

25 commits

Author SHA1 Message Date
Samuel Clay
b4e9a56041 Making the docker network is now a docker role task. 2021-09-16 11:55:20 -04:00
Samuel Clay
bf2a54e755 Fixing elasticsearch sysctl and config. 2021-08-13 11:44:18 -04:00
Samuel Clay
02b2546825 Adding hostnames to docker containers, changing mongo to just use host network mode dammit, and adding possibility for logging to dnsmasq. 2021-07-23 18:13:19 -04:00
Samuel Clay
cc7251610a Disable consul services needs +ie staging. 2021-06-15 11:12:09 -04:00
Samuel Clay
49d84af67c Updating monitor to use new elasticsearch. 2021-05-19 22:40:45 -04:00
Samuel Clay
a63b4097a3 Fixing nginx on staging to expose proper ports. 2021-05-19 22:03:53 -04:00
Samuel Clay
82fddd415f Switching from network_mode host to using a docker network. This gets us off host networking and to defined ports. The docker network connects the container's dns resolver to the machine's dnsmasq, which is used for consul. 2021-05-19 17:26:47 -04:00
Samuel Clay
af734dbb2c Moving port 80 and 443 to haproxy and nginx roles. 2021-05-19 12:14:31 -04:00
Samuel Clay
6a559e0f3f HAProxy now does a graceful reload. Cleaning up ansible. Splitting out firewall into ufw role. 2021-05-14 18:40:43 -04:00
Jonathan Math
9614844901 fix haproxy volume issue 2021-03-23 09:35:33 -05:00
Samuel Clay
b44cc5c509 Adding staging and discovery to web app. 2021-03-15 13:55:36 -04:00
Samuel Clay
4d9176872b Adding staging host. nginx now considers if its on prod or staging and adjusts its port. 2021-03-15 13:01:41 -04:00
Samuel Clay
f1dd44198d Switching from SRV based automatic haproxy server identification to manual tempaltes. Not great but not terrible. 2021-03-11 09:51:46 -05:00
Samuel Clay
a900a46b68 Attempting to fix resolve issues. 2021-03-10 16:54:18 -05:00
Samuel Clay
8ebf75d8ab Deploying haproxy vs setting up haproxy (reload vs restart) 2021-02-25 10:32:10 -05:00
Samuel Clay
155f9561db Updating node dockerfile to place node_modules in a parent directory to allow for volumizing node code. 2021-02-24 20:02:37 -05:00
Samuel Clay
e6d6667099 Adding consul tags for easy installation on services. 2021-02-23 19:30:28 -05:00
Samuel Clay
d498cca9e1 Handling multiple servers of the same name. Adding node-images for imageproxy. 2021-02-18 18:03:36 -05:00
Samuel Clay
599d8402b0 Fixing haproxy provisioning. 2021-02-18 15:53:28 -05:00
Samuel Clay
95552c9415 Attempting to fix haproxy but dns still isn't resolving between container and host. 2021-02-17 21:44:47 -05:00
Samuel Clay
06bdbf48e9 Splitting task into four task servers. Renaming elasticsearch to db-elasticsearch. Working on HAProxy. 2021-02-17 21:07:12 -05:00
Jonathan Math
859de6e0ce template haproxy.cfg file to use ssh key variable from the letsencrypt role, finish the haproxy file 2021-02-16 13:11:26 -05:00
Jonathan Math
61c8e70735 registering monitor and haproxy service in consul 2021-02-15 19:14:33 -05:00
Samuel Clay
4981978046 Updating keys to fix haproxy. 2021-02-08 22:40:06 -05:00
Samuel Clay
94d900aedc Working on inventories. 2021-02-08 19:22:51 -05:00