chore: use image from forgejo container registry
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
280e989c4b
commit
80111af3de
2 changed files with 39 additions and 1 deletions
38
README.md
38
README.md
|
@ -1,2 +1,40 @@
|
|||
# backend
|
||||
|
||||
You can run and test the latest backend by using the docker image based on main
|
||||
|
||||
## docker compose file
|
||||
```yml
|
||||
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:
|
||||
- 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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue