Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bootstrap-academy/infrastructure
The NixOS server configuration for Bootstrap Academy - Learn Computer Science Online
https://github.com/bootstrap-academy/infrastructure
bootstrap-academy build-with-buildbot infrastructure-as-code nixos
Last synced: 3 months ago
JSON representation
The NixOS server configuration for Bootstrap Academy - Learn Computer Science Online
- Host: GitHub
- URL: https://github.com/bootstrap-academy/infrastructure
- Owner: Bootstrap-Academy
- License: other
- Created: 2023-11-20T20:11:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T18:24:55.000Z (3 months ago)
- Last Synced: 2024-10-29T19:14:50.432Z (3 months ago)
- Topics: bootstrap-academy, build-with-buildbot, infrastructure-as-code, nixos
- Language: Nix
- Homepage: https://bootstrap.academy
- Size: 481 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Bootstrap Academy Infrastructure
The [NixOS](https://nixos.org/) server configuration for hosting the backend of [Bootstrap Academy](https://bootstrap.academy/) on [Hetzner Cloud](https://www.hetzner.com/cloud).If you would like to submit a bug report or feature request, or are looking for general information about the project or the publicly available instances, please refer to the [Bootstrap-Academy repository](https://github.com/Bootstrap-Academy/Bootstrap-Academy).
## Servers
| Name | Public IPv4 | Public IPv6 | Private IPv4 |
|------------------------------------------------------------------------------------------|------------------|---------------------------|--------------|
| [`prod`](https://console.hetzner.cloud/projects/2654383/servers/52842720/overview) | `49.13.80.22` | `2a01:4f8:c17:ad51::/64` | `10.23.0.2` |
| [`sandkasten`](https://console.hetzner.cloud/projects/2654383/servers/52832490/overview) | *None* | *None* | `10.23.0.3` |
| [`test`](https://console.hetzner.cloud/projects/2654383/servers/52823145/overview) | `49.13.123.1` | `2a01:4f8:c013:5e5f::/64` | `10.23.0.4` |## Administration
### Deployment
On a system with [Nix](https://nixos.org/) installed, enter a dev shell using `nix develop` (or use [direnv](https://github.com/direnv/direnv)) and run the `deploy` command. For more information, run `deploy --help` or refer to the [readme of deploy-sh](https://github.com/Defelo/deploy-sh).### PostgreSQL
To connect to the database, run the postgres administration commands as the `postgres` user (e.g. `sudo -u postgres psql`).### Redis
To connect to redis, run the `redis-cli` command.