mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-10 12:38:35 +03:00
All our clients are now using bearer auth so we can remove basic. Also renamed methods to be more distinct about the differences between them. Everything goes through bearer auth but in some cases we are authenticating a user and other times it's either a server or a particular api key.
20 lines
492 B
YAML
20 lines
492 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
restart: "no"
|
|
environment:
|
|
- SERVE_LOCAL_ARCHIVE=/app/local_archive # See orchestration.yaml local_storage.save_to
|
|
- ALLOWED_ORIGINS=http://localhost:8004,chrome-extension://ojcimmjndnlmmlgnjaeojoebaceokpdp
|
|
- SERVICE_PASSWORD=dev-service-password
|
|
- STATIC_FILE_PASSWORD=dev-static-file-password
|
|
- API_BEARER_TOKEN=dev-api-bearer-token
|
|
|
|
worker:
|
|
restart: "no"
|
|
|
|
redis:
|
|
restart: "no"
|
|
ports:
|
|
- 6379:6379
|