Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
NayamAmarshe committed Feb 7, 2024
1 parent 0c1a698 commit 360cb9f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .env.local.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# RENAME THIS FILE TO .env.local
# THEN REGISTER A NEW WEB APP ON FIREBASE
# AND ENTER THE DETAILS HERE

STORAGE_BUCKET=""
PROJECT_ID=""
AUTH_DOMAIN=""
Expand All @@ -10,11 +9,11 @@ APP_ID=""
MESSAGING_SENDER_ID=""
API_KEY=""

# CAN BE ANYTHING, THIS IS FOR BLOCKING API

# CAN BE ANYTHING, THIS IS FOR MANUALLY BLOCKING THE LINKS THAT ARE NOT SAFE
SECRET_KEY=""
SAFE_BROWSING_API_KEY=""

# ENTER YOUR WEBSITE DOMAIN NAME HERE
# ENTER YOUR GOOGLE SAFE BROWSING API KEY HERE TO BLOCK MALICIOUS LINKS
SAFE_BROWSING_API_KEY=""

NEXT_PUBLIC_BASE_URL="https://website.com/"
# ENTER YOUR WEBSITE DOMAIN NAME HERE, THE LAST SLASH IS IMPORTANT
NEXT_PUBLIC_BASE_URL="http://website.com/"
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version: "3.9"
services:
maglit:
image: local/maglit:latest
image: local/maglit:latest
build:
context: .
target: runner
dockerfile: Dockerfile
ports:
- "3000:3000"
env_file:
- .env.local
- .env.local
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"docker": "sudo docker-compose build && sudo docker-compose up -d"
"docker": "docker-compose build && docker-compose up -d"
},
"dependencies": {
"crypto-js": "^4.2.0",
Expand Down

0 comments on commit 360cb9f

Please sign in to comment.