forked from gorb/backend
Server backend for gorb, the chat app
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 |
||
---|---|---|
.woodpecker | ||
migrations | ||
src | ||
.gitignore | ||
build.rs | ||
Cargo.toml | ||
compose.dev.yml | ||
compose.yml | ||
diesel.toml | ||
Dockerfile | ||
entrypoint.sh | ||
LICENSE | ||
README.md | ||
run-dev.sh |
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