Skip to content

devict/dev-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devICT Project Server

Ansible playbooks for managing the configuration of the devICT project server!

Requirements

Setup

There are a few files that need to be put in place.

  • hosts
  • files/jobs/env
  • files/jobs/db.env

You will also need ssh access to the host you're applying this to via ansible.

Commands

make setup

Baseline configuration, run as root.

  • Sets up users and groups for caddy and docker.
  • Installs ssh keys.
  • Installs make, docker, and docker-compose.
  • Sets up systemd service for docker.

make caddy

Sets up the caddy frontend that proxies to the various services.

  • Sets up necessary files and directories.
  • Puts the Caddyfile in place.
  • Put systemd service in place, ensure running.

make jobs

This is the setup for the running devICT Jobs Board.

  • Pulls the latest from github.
  • Installs the .env and .db.env files
    • Expected to be stored in files/jobs/.
  • Puts systemd service in place, restarts.