Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devict/dev-server
https://github.com/devict/dev-server
ansible hacktoberfest
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/devict/dev-server
- Owner: devict
- Created: 2020-02-17T04:44:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T15:06:55.000Z (over 3 years ago)
- Last Synced: 2024-04-14T19:50:47.567Z (10 months ago)
- Topics: ansible, hacktoberfest
- Language: Makefile
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# devICT Project Server
Ansible playbooks for managing the configuration of the devICT project server!
## Requirements
- [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) (tested on 2.9.3)
- `make`## 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](./files/caddy/Caddyfile) in place.
- Put systemd service in place, ensure running.#### `make jobs`
This is the setup for the running [devICT Jobs Board](https://github.com/devict/jobs.devict).
- 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.