mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Added env variables to docker compose for debug and explocot host allow
This commit is contained in:
@@ -79,8 +79,12 @@ services:
|
|||||||
file: repo/docker-compose.full.yml
|
file: repo/docker-compose.full.yml
|
||||||
service: search
|
service: search
|
||||||
env_file: ./repo/.env
|
env_file: ./repo/.env
|
||||||
|
volumes:
|
||||||
|
- opensearch_config:/usr/share/opensearch/config
|
||||||
networks:
|
networks:
|
||||||
- am-d-model-repo-network
|
- am-d-model-repo-network
|
||||||
|
environment:
|
||||||
|
- discovery.type=single-node
|
||||||
s3:
|
s3:
|
||||||
extends:
|
extends:
|
||||||
file: repo/docker-compose.full.yml
|
file: repo/docker-compose.full.yml
|
||||||
@@ -99,13 +103,20 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- am-d-model-repo-network
|
- am-d-model-repo-network
|
||||||
environment:
|
environment:
|
||||||
|
- INVENIO_APP_ALLOWED_HOSTS=["invenio.am-d-model.eu"]
|
||||||
- UWSGI_LOG_DEBUG=true
|
- UWSGI_LOG_DEBUG=true
|
||||||
- UWSGI_LOG_REQ=true # Log requests
|
- UWSGI_LOG_REQ=true # Log requests
|
||||||
- UWSGI_LOG_SLOW=true # Log slow requests
|
- UWSGI_LOG_SLOW=true # Log slow requests
|
||||||
- UWSGI_LOG_ZERO=true # Log empty requests
|
- UWSGI_LOG_ZERO=true # Log empty requests
|
||||||
|
- UWSGI_LOG_DATE=true # Log dates of requests
|
||||||
- UWSGI_LOG_4XX=true # Log 4xx errors
|
- UWSGI_LOG_4XX=true # Log 4xx errors
|
||||||
- UWSGI_LOG_5XX=true # Log 5xx errors
|
- UWSGI_LOG_5XX=true # Log 5xx errors
|
||||||
- UWSGI_LOG_MICROS=true # Add microseconds to logs
|
- UWSGI_LOG_MICROS=true # Add microseconds to logs
|
||||||
|
- UWSGI_LOG_MASTER=true
|
||||||
|
- UWSGI_LOG_MASTER_FD=2 # This sends to stderr
|
||||||
|
- UWSGI_LOG_REQ=true
|
||||||
|
- UWSGI_LOG_MASTER_BUFSIZE=10000 # Optional, controls buffer size
|
||||||
|
- FLASK_DEBUG=1
|
||||||
# API Rest Application
|
# API Rest Application
|
||||||
web-api:
|
web-api:
|
||||||
extends:
|
extends:
|
||||||
@@ -117,13 +128,20 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- am-d-model-repo-network
|
- am-d-model-repo-network
|
||||||
environment:
|
environment:
|
||||||
|
- INVENIO_APP_ALLOWED_HOSTS=["invenio.am-d-model.eu"]
|
||||||
- UWSGI_LOG_DEBUG=true
|
- UWSGI_LOG_DEBUG=true
|
||||||
- UWSGI_LOG_REQ=true # Log requests
|
- UWSGI_LOG_REQ=true # Log requests
|
||||||
- UWSGI_LOG_SLOW=true # Log slow requests
|
- UWSGI_LOG_SLOW=true # Log slow requests
|
||||||
- UWSGI_LOG_ZERO=true # Log empty requests
|
- UWSGI_LOG_ZERO=true # Log empty requests
|
||||||
|
- UWSGI_LOG_DATE=true # Log dates of requests
|
||||||
- UWSGI_LOG_4XX=true # Log 4xx errors
|
- UWSGI_LOG_4XX=true # Log 4xx errors
|
||||||
- UWSGI_LOG_5XX=true # Log 5xx errors
|
- UWSGI_LOG_5XX=true # Log 5xx errors
|
||||||
- UWSGI_LOG_MICROS=true # Add microseconds to logs
|
- UWSGI_LOG_MICROS=true # Add microseconds to logs
|
||||||
|
- UWSGI_LOG_MASTER=true
|
||||||
|
- UWSGI_LOG_MASTER_FD=2 # This sends to stderr
|
||||||
|
- UWSGI_LOG_REQ=true
|
||||||
|
- UWSGI_LOG_MASTER_BUFSIZE=10000 # Optional, controls buffer size
|
||||||
|
- FLASK_DEBUG=1
|
||||||
# Worker
|
# Worker
|
||||||
worker:
|
worker:
|
||||||
extends:
|
extends:
|
||||||
@@ -147,3 +165,4 @@ volumes:
|
|||||||
caddy_data:
|
caddy_data:
|
||||||
static_data:
|
static_data:
|
||||||
redis_data:
|
redis_data:
|
||||||
|
opensearch_config:
|
||||||
|
|||||||
Reference in New Issue
Block a user