https://github.com/infynyxx/infynyxx_com
infynyxx.com source and ansible provisioning scripts
https://github.com/infynyxx/infynyxx_com
ansible letsencrypt linode nginx
Last synced: 4 months ago
JSON representation
infynyxx.com source and ansible provisioning scripts
- Host: GitHub
- URL: https://github.com/infynyxx/infynyxx_com
- Owner: infynyxx
- Created: 2017-04-05T13:33:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T02:13:49.000Z (over 6 years ago)
- Last Synced: 2024-04-16T07:14:41.488Z (about 2 years ago)
- Topics: ansible, letsencrypt, linode, nginx
- Language: Go
- Homepage: https://infynyxx.com
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Source and provisioning for infynyxx.com
This repo contains source for my static site (https://infynyxx.com) and ansible provisioning scripts. My weekend project to use ansible, docker, letsencrypt and little bit of golang to host / deploy my site in Linode.
* A golang based HTTP server that reads from a given static directory
* That app is packaged into a docker container. See [Dockerfile](./Dockerfile) for more info
* `ansible` directory contains provisioning scripts
* `config.ini` file is required for providing root ssh pulic key, linode API key and root password
* Provision `linode1024` instance if `linode_id` is not provided
* Install docker and run image `infynyxx/infynyxxcom_http_server` from DockerHub in port 8080
* Install Nginx and LetsEncrypt / Certbot binaries
* Configure TLS reverse proxy
## Running locally
``` bash
$ docker-compose build && docker-compose up
```
## ToDos
- [ ] Configure cron to renew LetsEncrypt cert
- [ ] Write tests for `main.go`
- [ ] Write ansible tests