updated readme

This commit is contained in:
Shihaam Abdul Rahman 2022-12-13 23:56:27 +05:00
parent a27acf1ad3
commit 9b59b8ea01
Signed by: shihaam
GPG Key ID: 3B007D22E5584980
2 changed files with 33 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
public/
test/
data/
.env

29
README.md Normal file
View File

@ -0,0 +1,29 @@
## Okiba Docker
```yml
services:
#########################
okiba:
hostname: okiba
image: git.shihaam.dev/dockerfiles/okiba-org-docker
volumes:
- $PWD/logs/npm:/root/.npm/_logs/
- $PWD/data/:/root/okiba-org-backend/data
- $PWD/.env:root/okiba-org-backend/.env
ports:
- 3000:3000
restart: always
#########################
postgres:
hostname: okiba-db
image: postgres:13-alpine
volumes:
- $PWD/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=okiba
- POSTGRES_USER=okiba
- POSTGRES_PASSWORD=okiba
restart: unless-stopped
```