Complete server deployment config

Josh Bicking b7b2b3269d add outward facing nginx před 5 roky
roles b7b2b3269d add outward facing nginx před 5 roky
templates b7b2b3269d add outward facing nginx před 5 roky
.gitignore db905e596f start on orcha config před 5 roky
README.md 816956d0ef move compose in, outline for ansible před 5 roky
ansible.cfg 63d1919913 all parts working před 5 roky
hosts b3edccfc53 finishing touches před 5 roky
playbook.yml 63d1919913 all parts working před 5 roky

README.md

Ansible & Docker homelab configurations

Set up a series of machines for web hosting & data storage.

Using these files

Docker

The easiest way to use these files is to copy the config of a service you want into your own docker-compose.yaml file. You'll need to change my domain names to your own.

If you decide to use environment variables, you'll need to create a .env file in the same directory as your compose file. This should declare any variables used in the compose file.

For example, if your compose file uses the CONTAINERS_DIR and POSTGRES_PASSWORD variables I'm using in my compose file, your .env file should look something like this:

CONTAINERS_DIR=/home/user/my-container-data
POSTGRES_PASSWORD=mysecretpassword

Ansible

The hostnames & keys may be changed to set up a generic web & storage instance, ready to run docker-compose/host a NAS.