Self-Hosted

Using Vultr - Docker

Stuff to do:

chsh -s /bin/bash to change the default shell from dash to bash (to allow arrow key and auto complete stuff)

sudo passwd <user> to change the password for a user (Docker user)

Tools Needed

  • Docker (used one click install but also here) WAIT. I THINK COMPOSE IS ALSO INSTALLED

    • create network docker network create web (or some other name than web)

Checklist

  1. give docker user password

  2. change shell to bash from dash (sh)

  3. go to docker user

  4. set up github (with just git clone https so no need ssh keys)

  5. docker create network docker network create traefik_proxy

  6. clone traefik set up from repo. (create traefik folder with yaml and launch with docker compose)

    1. certs? here, here?

  7. clone gourl project and run docker compose

  8. set up code server via docker as well

verify with: docker compose version

Drawing

Login in SSH

su - docker to go to docker user's space

Login:

docker login

In the future, create custom image:

Last updated