Giter VIP home page Giter VIP logo

ap.third-branches.net's Introduction

ap.third-branches.net

About

Deployment config and script for "ap.third-branches.net".

Infrastructure

  • App Hosting: AWS Lightsail Instance
    • Blueprint: CentOS 9 Stream
    • Bundle: micro
  • DB: AWS Lightsail Database
    • Blueprint: PostgreSQL 15
    • Bundle: micro
  • Media Hosting: Cloudflare R2
  • Reverse Proxy: Cloudflare Tunnel

Setup

1. Setup Infrastructures

  1. Clone repository.

  2. Create resources using Terraform.

    cd terraform
    terraform plan
    terraform apply

    Required value details: variables.tf

  3. Check the output values to use when setting up a GoToSocial instance.

    Output value details: output.tf

2. Setup GoToSocial Instance

  1. Login to created Lightsail instance.

  2. Install docker and docker-compose.

  3. Clone repository on Lightsail instance.

  4. Save the values output during infrastructure setup to the .env file under environments/.

    • TUNNEL_TOKEN: Token used to set up Cloudflare Tunnel.
    • GTS_*: Environment variables that configure the GoToSocial instance.
  5. Start docker containers.

    docker compose up -d

Administration Tasks

1. Update docker images

  1. Login to Lightsail instance.

  2. Stop docker containers.

    docker compose down
  3. Pull docker images.

    docker compose pull
  4. Restart docker containers.

    docker compose up -d

ap.third-branches.net's People

Contributors

dependabot[bot] avatar rshirohara avatar

Watchers

Kostas Georgiou avatar  avatar

ap.third-branches.net's Issues

Create custom CSS

Tasks

  • Allow user-custom css in gotosocial settings
  • Create custom css

Change bucket to cloudflare R2

Tasks

  • 1. Create Cloudflare R2 bucket
  • 2. Data Migration
  • 3. Check resource-access from gotosocial
  • 4. Delete AWS S3 Bucket
  • Refactor terraform resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.