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 + +```