From 9b59b8ea0102e406d93e77bda2e25b4850012e4c Mon Sep 17 00:00:00 2001 From: Shiham Abdul Rahman Date: Tue, 13 Dec 2022 23:56:27 +0500 Subject: [PATCH] updated readme --- .gitignore | 4 ++++ README.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..14a28a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +public/ +test/ +data/ +.env diff --git a/README.md b/README.md new file mode 100644 index 0000000..5ceb2dc --- /dev/null +++ b/README.md @@ -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 + +```