Server backend for gorb, the chat app https://gorb.app/
Find a file
Radical d6364a0dc0 feat: add debug error printing
Got a random error message while coding (still have no idea what sent it), this will let you run the code with debug logging if you arent sure where errors are coming from
2025-05-23 20:33:42 +02: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: add debug error printing 2025-05-23 20:33:42 +02:00
.gitignore chore: add config.toml to gitignore 2025-04-30 11:10:02 +00:00
build.rs feat: include migrations in binary 2025-05-22 16:29:57 +02:00
Cargo.toml Merge branch 'main' into wip/images 2025-05-23 13:45:17 +02:00
compose.dev.yml chore: add valkey configuration to docker 2025-05-07 20:57:01 +02:00
compose.yml chore: add valkey configuration to docker 2025-05-07 20:57:01 +02:00
diesel.toml feat: use diesel-cli instead of hand writing tables 2025-05-21 21:49:01 +02:00
Dockerfile chore: add valkey configuration to docker 2025-05-07 20:57:01 +02:00
entrypoint.sh chore: add valkey configuration to docker 2025-05-07 20:57:01 +02: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 build: add a run-dev.sh for local testing 2025-05-02 16:23:45 +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