Skip to content

This project is about provisioning web server quickly with ansible to configure traefik reverse proxy and others services such as : netdata, phpmyadmin, mysql and more

Notifications You must be signed in to change notification settings

kconde2/kabascript-server-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KabaScript Server Setup

KabaScript Server Setup is a set of Ansible playbooks for provisionning and setuping Ubuntu >= 18.04 server with also Traefik configuration with Docker and others services such as: mysql , phpmyadmin, portainer

Installation

  • Copy inventory.ini.example into inventory.ini
  • Copy vars-overrides.yml.example into vars-overrides.yml

Update all needed variables

Avaible app urls

your-domain.com
t.your-domain.com
portainer.your-domain.com
pma.your-domain.com
netdata.your-domain.com

Firewall

Do not forget to set fail2ban_ignoreip

Make sure to update your DNS (your-domain.com) with ipaddress

Useful commands

Etablish permanent ssh connexion

ssh-copy-id -i ~/.ssh/id_rsa.pub root@161.97.68.183

References

Know issues

ssh-add -K

Provision server per environment

docker-compose exec master ansible-playbook server.yml -e env=<environment>

References

About

This project is about provisioning web server quickly with ansible to configure traefik reverse proxy and others services such as : netdata, phpmyadmin, mysql and more

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published