start fixing local dev env
This commit is contained in:
@@ -128,4 +128,4 @@ CSRF_TRUSTED_ORIGINS = [
|
|||||||
"http://localhost:8080/",
|
"http://localhost:8080/",
|
||||||
]
|
]
|
||||||
|
|
||||||
REMOTE_URL = "http://127.0.0.1:8000"
|
REMOTE_URL = "http://127.0.0.1:8080"
|
||||||
@@ -17,6 +17,8 @@ services:
|
|||||||
- ../:/usr/src/app:cached
|
- ../:/usr/src/app:cached
|
||||||
# Mount the app log directory so logs are visible on the host at ./logs
|
# Mount the app log directory so logs are visible on the host at ./logs
|
||||||
- ../logs:/var/log/rad
|
- ../logs:/var/log/rad
|
||||||
|
- ../../media:/usr/src/app/media
|
||||||
|
- ../../static:/usr/src/app/static
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
env_file:
|
env_file:
|
||||||
@@ -24,6 +26,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ../:/usr/src/app:cached
|
- ../:/usr/src/app:cached
|
||||||
- ../logs:/var/log/rad
|
- ../logs:/var/log/rad
|
||||||
|
- ../../media:/usr/src/app/media
|
||||||
|
- ../../static:/usr/src/app/static
|
||||||
entrypoint:
|
entrypoint:
|
||||||
[
|
[
|
||||||
"sh",
|
"sh",
|
||||||
@@ -39,6 +43,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ../deploy/nginx/dev.conf:/etc/nginx/conf.d/default.conf:ro
|
- ../deploy/nginx/dev.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
- ../logs:/var/log/rad:rw
|
- ../logs:/var/log/rad:rw
|
||||||
|
- ../../media:/usr/src/app/media:ro
|
||||||
|
- ../../static:/usr/src/app/static:ro
|
||||||
|
|
||||||
loki:
|
loki:
|
||||||
image: grafana/loki:2.8.2
|
image: grafana/loki:2.8.2
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ services:
|
|||||||
# (Optional) keep explicit mounts for media/static/backups if you need
|
# (Optional) keep explicit mounts for media/static/backups if you need
|
||||||
# to override them separately; otherwise they are covered by the repo mount.
|
# to override them separately; otherwise they are covered by the repo mount.
|
||||||
- ../backups:/usr/src/app/backups
|
- ../backups:/usr/src/app/backups
|
||||||
- ../media:/usr/src/app/media
|
- ../../media:/usr/src/app/media
|
||||||
- ../static:/usr/src/app/static
|
- ../../static:/usr/src/app/static
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
- 3459:3459
|
- 3459:3459
|
||||||
@@ -40,8 +40,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ../:/usr/src/app
|
- ../:/usr/src/app
|
||||||
- ../backups:/usr/src/app/backups
|
- ../backups:/usr/src/app/backups
|
||||||
- ../media:/usr/src/app/media
|
- ../../media:/usr/src/app/media
|
||||||
- ../static:/usr/src/app/static
|
- ../../static:/usr/src/app/static
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env.dev.local
|
- ./.env.dev.local
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ ingester:
|
|||||||
chunk_idle_period: 5m
|
chunk_idle_period: 5m
|
||||||
chunk_retain_period: 30s
|
chunk_retain_period: 30s
|
||||||
max_transfer_retries: 0
|
max_transfer_retries: 0
|
||||||
|
wal:
|
||||||
|
dir: /loki/wal
|
||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
|
|||||||
Reference in New Issue
Block a user