mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-10 12:38:35 +03:00
De duplicate some common codepaths. Also, for routes accepting basic authentication, allow bearer auth as an alternative. This allows clients to switch to bearer auth opportunistically, but we won't have to coordinate deployments. Basic auth should be deprecated since we don't really use a user/password auth scheme.
19 lines
446 B
YAML
19 lines
446 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
|
|
|
|
worker:
|
|
restart: "no"
|
|
|
|
redis:
|
|
restart: "no"
|
|
ports:
|
|
- 6379:6379
|