Skip to content

Commit

Permalink
Document ops setup a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Jul 20, 2024
1 parent e5369e8 commit 903bf4f
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions ops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,30 @@ Machine:
- A / AAAA records on DNSimple for compass.heartofclojure.eu
159.100.242.109
2a04:c43:e00:5d3b:4f6:2cff:fe00:612


Database
- We use a exoscale hosted postgresql instance as a backend for datomic
- Transactor runs on the same box

ssh accesss:
- Make sure your membership of the heartofclojure group is public on github
https://github.com/orgs/heartofclojure/people
- Wait up to ten minutes
- You can now ssh root@compass.heartofclojure.eu

```
ssh root@compass.heartofclojure.eu
systemctl status txor
systemctl status compass
journalctl -u compass -f
```

```
ssh compass@compass.heartofclojure.eu
vim ~/config.edn
```

Deploys
- we have a bare repo on the server
- in there there's a pre-receive hook (ops/pre-receive.bb)
- pushed to this repo will trigger a deploy
- the github actions does a push

0 comments on commit 903bf4f

Please sign in to comment.