Skip to content

Bootstrap automation (w/ Ansible) & services definition (w/ docker/docker-compose) for my personal vps

License

Notifications You must be signed in to change notification settings

charlesvdv/vps-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vps-setup

The goal of vps-setup is to first keep the Ansible scripts used to boostrap my personal VPS. Secondly, this repository also contains the definition of every services running on my VPS. The service definition consists of a single docker-compose file.

Prerequisite

The bootstrap script makes some assumptions that need to be fulfilled for a successful run. Therefore, some manual steps may be needed:

  • A user <x> with sudo capabilities
  • Ssh to remote user <x> using public-key instead of password
  • User <x> is in group sshusers

Boostrap

To run the boostrap script, use:

ansible-playbook -i hosts bootstrap.yaml --ask-become-pass

Don't forget to update the hosts file if you want use this command

Services

My personal VPS is setup to run everything as container using docker and docker-compose. Currently, those services are configured:

  • Nextcloud for file backup

In the services/ folder, run:

sudo docker-compose up --build

in order to launch everything.

About

Bootstrap automation (w/ Ansible) & services definition (w/ docker/docker-compose) for my personal vps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published