Skip to content

Commit

Permalink
switched to use .secrets.yml insteadof .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
Glydric committed Dec 17, 2023
1 parent 14cae38 commit c5f8ef3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
14 changes: 2 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.DS_Store

# Logs
logs
*.log
Expand Down Expand Up @@ -128,13 +126,6 @@ dist
*.iml
.idea

img


# Intellij
.idea/
*.iml

# Python
__pycache__

Expand All @@ -146,9 +137,8 @@ __pycache__
mongo-data

##dotenv environment variable files
.secrets.*
.env
.env.development.local
.env.production

## image output
## images output
img
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The repository contains the sources code for the Camera Security System project.

## Just Run

Firstly add .env file to root directory using the following template
Firstly add .secrets.yml file to root directory using the following template
```text
MONGO_PROTOCOL=mongodb
MONGO_HOST=mongo:27017
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
volumes:
- ./mongo-data:/data/db
env_file:
- .env
- .secrets.yml

backend:
container_name: backend
Expand All @@ -24,6 +24,6 @@ services:
volumes:
- ./Backend:/home/node
env_file:
- .env
- .secrets.yml
# command: npm start
command: npm run start -- --watch

0 comments on commit c5f8ef3

Please sign in to comment.