An open API service indexing awesome lists of open source software.

https://github.com/maybeken/grd0-infrastructure

Docker compose implementation of grd0.net infrastructures, mirrored from GitLab.
https://github.com/maybeken/grd0-infrastructure

caddy cloudflared docker docker-compose

Last synced: 27 days ago
JSON representation

Docker compose implementation of grd0.net infrastructures, mirrored from GitLab.

Awesome Lists containing this project

README

          

> Generated by ChatGPT. Misleading at best, completely wrong in most cases.

# grd0-infrastructure

This repository provides a Docker Compose implementation of the infrastructure for [grd0.net](https://grd0.net).

## Table of Contents

- [grd0-infrastructure](#grd0-infrastructure)
- [Table of Contents](#table-of-contents)
- [Overview](#overview)
- [Prerequisites](#prerequisites)
- [Setup Instructions](#setup-instructions)
- [Components](#components)
- [License](#license)
- [Contributing](#contributing)

## Overview

The `grd0-infrastructure` repository offers a Docker Compose-based setup for deploying the core services of grd0.net.

For the original GitLab repository, visit: [grd0.net GitLab Repository](https://gitlab.com/grd0.net/grd0-infrastructure)

## Prerequisites

Before setting up the infrastructure, ensure you have the following installed:

- [Docker](https://www.docker.com/get-started) (version 20.10 or later)
- [Docker Compose](https://docs.docker.com/compose/install/) (version 1.29 or later)

## Setup Instructions

1. **Clone the Repository**

```bash
git clone https://github.com/maybeken/grd0-infrastructure.git
cd grd0-infrastructure
```

2. **Start the Services**

```bash
docker-compose up -d
```

This command will start all the services defined in the `docker-compose.yml` file in detached mode.

3. **Access the Services**

Please setup the port forwarding accordingly for local deployment.

4. **Stop the Services**

```bash
docker-compose down
```

This command will stop and remove all the containers defined in the `docker-compose.yml` file.

## Components

The `docker-compose.yml` file defines the following services:

- **grd0-site**: The main website for grd0.net.
- **hoarder-app**: An application for managing and organizing data.
- **nextcloud**: A self-hosted cloud storage solution.
- **vaultwarden**: A lightweight Bitwarden-compatible password manager.

## Migration of Data

### Install Utility

```sh
sudo curl -SL https://raw.githubusercontent.com/junedkhatri31/docker-volume-snapshot/main/docker-volume-snapshot -o /usr/local/bin/docker-volume-snapshot
sudo chmod +x /usr/local/bin/docker-volume-snapshot
```

### At Source

```sh
read -p "Enter volume name: " vname && sudo docker-volume-snapshot create ${vname} ${vname}.tar.gz
```

### At Desintation

```sh
read -p "Enter volume name: " vname && sudo docker-volume-snapshot restore ${vname}.tar.gz ${vname}
```

## License

This project is licensed under the [CC-BY-SA-4.0](https://creativecommons.org/licenses/by-sa/4.0/) license.

## Contributing

Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.