Server backend for gorb, the chat app https://gorb.app/
Find a file
Radical 419f37b108
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
feat: move password reset tokens to valkey
Also just as useless to keep in DB
2025-06-03 11:03:52 +00:00
.woodpecker ci: add proper cross compiling! 2025-06-01 21:56:47 +02:00
migrations feat: move password reset tokens to valkey 2025-06-03 11:03:52 +00:00
src feat: move password reset tokens to valkey 2025-06-03 11:03:52 +00:00
.gitignore chore: add config.toml to gitignore 2025-04-30 11:10:02 +00:00
build.rs style: cargo clippy && cargo fmt 2025-05-30 21:17:30 +02:00
Cargo.toml build: try to make dev bearable 2025-06-01 22:10:23 +02:00
compose.dev.yml style: rename url to frontend_url 2025-05-29 20:29:45 +02:00
compose.yml style: rename url to frontend_url 2025-05-29 20:29:45 +02:00
diesel.toml feat: use diesel-cli instead of hand writing tables 2025-05-21 21:49:01 +02:00
Dockerfile ci: add proper cross compiling! 2025-06-01 21:56:47 +02:00
entrypoint.sh style: rename url to frontend_url 2025-05-29 20:29:45 +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 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