mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-13 05:58:35 +03:00
Move dev configs to their own file
This commit is contained in:
11
docker-compose.dev.yml
Normal file
11
docker-compose.dev.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
environment:
|
||||||
|
- SERVE_LOCAL_ARCHIVE=/app/local_archive # See orchestration.yaml local_storage.save_to
|
||||||
|
- ALLOWED_ORIGINS=http://localhost:8004
|
||||||
|
redis:
|
||||||
|
command: redis-server /conf/redis.conf
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
@@ -14,7 +14,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- CELERY_BROKER_URL=redis://:${REDIS_PASSWORD}@redis:6379/0
|
- CELERY_BROKER_URL=redis://:${REDIS_PASSWORD}@redis:6379/0
|
||||||
- CELERY_RESULT_BACKEND=redis://:${REDIS_PASSWORD}@redis:6379/0
|
- CELERY_RESULT_BACKEND=redis://:${REDIS_PASSWORD}@redis:6379/0
|
||||||
- SERVE_LOCAL_ARCHIVE=/app/local_archive # See orchestration.yaml local_storage.save_to
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
@@ -34,15 +33,11 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6-alpine
|
image: redis:6-alpine
|
||||||
# command: redis-server /conf/redis.conf # DEV ONLY
|
|
||||||
command: redis-server /conf/redis.conf --requirepass ${REDIS_PASSWORD}
|
command: redis-server /conf/redis.conf --requirepass ${REDIS_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- "./redis/data:/data"
|
- "./redis/data:/data"
|
||||||
- "./redis/config:/conf"
|
- "./redis/config:/conf"
|
||||||
restart: always
|
restart: always
|
||||||
# DEV ONLY
|
|
||||||
# ports:
|
|
||||||
# - 6379:6379
|
|
||||||
|
|
||||||
dashboard:
|
dashboard:
|
||||||
build: ./src
|
build: ./src
|
||||||
|
|||||||
Reference in New Issue
Block a user