Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
fix authentication api key example
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusmaiberg committed Feb 22, 2024
1 parent 59ac6b6 commit d526bc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/01-Get Started/Installation/Docker.md
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ The fastest way to deploy EvolutionAPI with Docker is using `docker run` in the
```bash title="Linux Command Line Interface" live
docker run --name evolution-api --detach \
-p 8080:8080 \
-e API_KEY=YOUR_SUPER_SECURE_AUTHENTICATION_KEY \
-e AUTHENTICATION_API_KEY=YOUR_SUPER_SECURE_AUTHENTICATION_KEY \
atendai/evolution-api \
node ./dist/src/main.js
```
@@ -67,7 +67,7 @@ Run the following command to deploy the EvolutionAPI with the necessary volumes.
```bash title="Linux Command Line Interface" live
docker run --name evolution-api --detach \
-p 8080:8080 \
-e API_KEY=YOUR_SUPER_SECURE_AUTHENTICATION_KEY \
-e AUTHENTICATION_API_KEY=YOUR_SUPER_SECURE_AUTHENTICATION_KEY \
-v evolution_store:/evolution/store \
-v evolution_instances:/evolution/instances \
atendai/evolution-api \
@@ -110,7 +110,7 @@ services:
ports:
- "8080:8080"
environment:
- API_KEY=YOUR_SUPER_SECURE_AUTHENTICATION_KEY
- AUTHENTICATION_API_KEY=YOUR_SUPER_SECURE_AUTHENTICATION_KEY
volumes:
- evolution_store:/evolution/store
- evolution_instances:/evolution/instances
@@ -175,7 +175,7 @@ x-variables:
CONFIG_SESSION_PHONE_CLIENT: "RENAME ME WITH YOUR COMPANY NAME"
# ApiKey Config for authentication High Encryption AES 256 from https://acte.ltd/utils/randomkeygen
AUTHENTICATION_TYPE: "apikey"
AUTHENTICATION_API_KEY: "YOUR_SUPER_SECURE_KEY"
AUTHENTICATION_AUTHENTICATION_API_KEY: "YOUR_SUPER_SECURE_KEY"
# Database
DATABASE_ENABLED: "true"
DATABASE_CONNECTION_URI: "mongodb://root:YOUR_SUPER_SECURE_PASSWORD@mongodb:27017/?authSource=admin&readPreference=primary&ssl=false&directConnection=true"

0 comments on commit d526bc5

Please sign in to comment.