Server backend for gorb, the chat app https://gorb.app/
Find a file
2025-05-26 13:54:09 +00:00
.woodpecker use docker as build system 2025-05-02 14:23:50 +02:00
migrations Merge branch 'main' into wip/images 2025-05-23 13:45:17 +02:00
src feat: allow usage of local folder for file storage 2025-05-26 13:22:56 +00:00
.gitignore chore: add config.toml to gitignore 2025-04-30 11:10:02 +00:00
build.rs style: cargo clippy && format 2025-05-24 01:09:17 +02:00
Cargo.toml feat: allow usage of local folder for file storage 2025-05-26 13:22:56 +00:00
compose.dev.yml fix: use correct env var in dockerfile/compose 2025-05-26 13:54:09 +00:00
compose.yml fix: use correct env var in dockerfile/compose 2025-05-26 13:54:09 +00:00
diesel.toml feat: use diesel-cli instead of hand writing tables 2025-05-21 21:49:01 +02:00
Dockerfile fix: use correct env var in dockerfile/compose 2025-05-26 13:54:09 +00:00
entrypoint.sh fix: update entrypoint.sh to not insert bunny when unused 2025-05-26 13:53:46 +00:00
LICENSE Update LICENSE 2025-04-28 18:27:46 +00:00
README.md feat: use a logging library 2025-05-02 01:18:13 +02:00
run-dev.sh fix: make container work properly 2025-05-25 19:20:02 +02:00

backend

You can run and test the latest backend by using the docker image based on main

docker compose file

version: '3.5'
volumes:
  gorb-backend:
  gorb-database:
networks:
  gorb:
services:
  backend:
    image: git.gorb.app/gorb/backend:main
    restart: always
    ports:
      - 8080:8080
    networks:
      - gorb
    volumes:
      - gorb-backend:/gorb
    environment:
      #- RUST_LOG=debug
      - DATABASE_USERNAME=gorb
      - DATABASE_PASSWORD=gorb
      - DATABASE=gorb
      - DATABASE_HOST=database
      - DATABASE_PORT=5432
  database:
    image: postgres:16
    restart: always
    networks:
      - gorb
    volumes:
      - gorb-database:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=gorb
      - POSTGRES_PASSWORD=gorb
      - POSTGRES_DB=gorb