mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-18 20:59:42 +02:00
* rm: remove the generate password file * rm: commander package * rm: remove the password reading from db * feat: password hash reading from env added * passHash replace with password * raw password comparison added * rm: user model and controller removed * update: auth route and token verification * replace multiple dotenv config with one * .env.sample added with updated docker yml * rm:remove the bcrypt * readme updated with .env * remove generatePassword from package json * updated docs * removed the console.log
17 lines
429 B
YAML
17 lines
429 B
YAML
version: "3.2"
|
|
services:
|
|
docs:
|
|
build:
|
|
dockerfile: docker/Dockerfile.prod
|
|
context: .
|
|
ports:
|
|
- "5005:3000"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./.env:/usr/src/app/.env
|
|
- ./.codexdocsrc:/usr/src/app/.codexdocsrc:ro
|
|
- ./config/production.json:/usr/src/app/config/production.json:ro
|
|
- ./public/uploads:/uploads
|
|
- ./.db:/usr/src/app/.db
|
|
- /usr/src/app/node_modules
|