Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ services:
- "./entity-api/nginx/conf.d:/etc/nginx/conf.d"
networks:
- gateway_hubmap
# Send docker logs to AWS CloudWatch
logging:
driver: awslogs
options:
awslogs-region: us-east-1
awslogs-group: entity-api-docker-logs
awslogs-stream: ${LOG_STREAM}


networks:
# This is the network created by gateway to enable communicaton between multiple docker-compose projects
Expand Down
1 change: 0 additions & 1 deletion docker/example.env

This file was deleted.

8 changes: 4 additions & 4 deletions src/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ chdir = /usr/src/app/src
# Application's callbale
module = wsgi:application

# Delegate the logging to the master process
# Send logs to stdout instead of file so docker picks it up and writes to AWS CloudWatch
# Centralize logging through the master process
log-master=true
logto = /usr/src/app/log/uwsgi-entity-api.log

# Master with 12 worker processes (based on CPU number)
master = true
Expand All @@ -22,7 +22,7 @@ enable-threads = True
threads = 24

# Use http socket for integration with nginx running on the same machine
socket = localhost:5000
socket = :5000

# Enable socket cleanup when process stop
vacuum = true
Expand All @@ -40,4 +40,4 @@ stats = localhost:9191

# Makes the stats server accessible via HTTP rather than a raw socket,
# allowing standard tools like curl to query it
stats-http = true
stats-http = true
Loading