We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
OSError: File does not exist: staticfiles.json - Dev Install
## Details

* Read the Docs project URL: **N/A**
* Build URL (if applicable): **N/A**
* Read the Docs username (if applicable): **N/A**

## Expected Result

Show the http://community.dev.readthedocs.io/ local site and allow you to login and generate docs.

## Actual Result

![Screenshot 2022-01-14 002309](https://user-images.githubusercontent.com/12134329/149456476-6e2d0d65-9d7b-4880-b798-1ee74985870c.png)

This error also shows up when you try to go to http://community.dev.readthedocs.io/ but in the form of a nicely formatted django error with details about it.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `readthedocs/settings/docker_compose.py`
Content:
```
1 import os
2 import socket
3 
4 from .dev import CommunityDevSettings
5 
6 
7 class DockerBaseSettings(CommunityDevSettings):
8 
9     """Settings for local development with Docker"""
10 
11     DOCKER_ENABLE = True
12     RTD_DOCKER_COMPOSE = True
13     RTD_DOCKER_COMPOSE_VOLUME = 'community_build-user-builds'
14     RTD_DOCKER_USER = f'{os.geteuid()}:{os.getegid()}'
15     DOCKER_LIMITS = {'memory': '1g', 'time': 900}
16     USE_SUBDOMAIN = True
17 
18     PRODUCTION_DOMAIN = 'community.dev.readthedocs.io'
19     PUBLIC_DOMAIN = 'community.dev.readthedocs.io'
20     PUBLIC_API_URL = f'http://{PRODUCTION_DOMAIN}'
21 
22     SLUMBER_API_HOST = 'http://web:8000'
23     SLUMBER_USERNAME = 'admin'
24     SLUMBER_PASSWORD = 'admin'
25 
26     RTD_EXTERNAL_VERSION_DOMAIN = 'org.dev.readthedocs.build'
27 
28     STATIC_URL = '/static/'
29 
30     # In the local docker environment, nginx should be trusted to set the host correctly
31     USE_X_FORWARDED_HOST = True
32 
33     MULTIPLE_BUILD_SERVERS = ['build']
34 
35     # https://docs.docker.com/engine/reference/commandline/run/#add-entries-to-container-hosts-file---add-host
36     # export HOSTIP=`ip -4 addr show scope global dev wlp4s0 | grep inet | awk '{print \$2}' | cut -d / -f 1`
37     HOSTIP = os.environ.get('HOSTIP')
38 
39     # If the host IP is not specified, try to get it from the socket address list
40     _, __, ips = socket.gethostbyname_ex(socket.gethostname())
41     if ips and not HOSTIP:
42         HOSTIP = ips[0][:-1] + "1"
43 
44     # Turn this on to test ads
45     USE_PROMOS = False
46     ADSERVER_API_BASE = f'http://{HOSTIP}:5000'
47     # Create a Token for an admin User and set it here.
48     ADSERVER_API_KEY = None
49     ADSERVER_API_TIMEOUT = 2  # seconds - Docker for Mac is very slow
50 
51     # New templates
52     @property
53     def RTD_EXT_THEME_DEV_SERVER_ENABLED(self):
54         return os.environ.get('RTD_EXT_THEME_DEV_SERVER_ENABLED') is not None
55 
56     @property
57     def RTD_EXT_THEME_DEV_SERVER(self):
58         if self.RTD_EXT_THEME_DEV_SERVER_ENABLED:
59             return "http://assets.community.dev.readthedocs.io:10001"
60 
61     # Enable auto syncing elasticsearch documents
62     ELASTICSEARCH_DSL_AUTOSYNC = 'SEARCH' in os.environ
63 
64     RTD_CLEAN_AFTER_BUILD = True
65 
66     @property
67     def RTD_EMBED_API_EXTERNAL_DOMAINS(self):
68         domains = super().RTD_EMBED_API_EXTERNAL_DOMAINS
69         domains.extend([
70             r'.*\.readthedocs\.io',
71             r'.*\.org\.readthedocs\.build',
72             r'.*\.readthedocs-hosted\.com',
73             r'.*\.com\.readthedocs\.build',
74         ])
75         return domains
76 
77     @property
78     def LOGGING(self):
79         logging = super().LOGGING
80         logging['handlers']['console']['formatter'] = 'colored_console'
81         logging['loggers'].update({
82             # Disable Django access requests logging (e.g. GET /path/to/url)
83             # https://github.com/django/django/blob/ca9872905559026af82000e46cde6f7dedc897b6/django/core/servers/basehttp.py#L24
84             'django.server': {
85                 'handlers': ['null'],
86                 'propagate': False,
87             },
88             # Disable S3 logging
89             'boto3': {
90                 'handlers': ['null'],
91                 'propagate': False,
92             },
93             'botocore': {
94                 'handlers': ['null'],
95                 'propagate': False,
96             },
97             's3transfer': {
98                 'handlers': ['null'],
99                 'propagate': False,
100             },
101             # Disable Docker API logging
102             'urllib3': {
103                 'handlers': ['null'],
104                 'propagate': False,
105             },
106             # Disable gitpython logging
107             'git.cmd': {
108                 'handlers': ['null'],
109                 'propagate': False,
110             },
111         })
112         return logging
113 
114     @property
115     def DATABASES(self):  # noqa
116         return {
117             "default": {
118                 "ENGINE": "django.db.backends.postgresql_psycopg2",
119                 "NAME": "docs_db",
120                 "USER": os.environ.get("DB_USER", "docs_user"),
121                 "PASSWORD": os.environ.get("DB_PWD", "docs_pwd"),
122                 "HOST": os.environ.get("DB_HOST", "database"),
123                 "PORT": "",
124             }
125         }
126 
127     def show_debug_toolbar(request):
128         from django.conf import settings
129         return settings.DEBUG
130 
131     DEBUG_TOOLBAR_CONFIG = {
132         'SHOW_TOOLBAR_CALLBACK': show_debug_toolbar,
133     }
134 
135     ACCOUNT_EMAIL_VERIFICATION = "none"
136     SESSION_COOKIE_DOMAIN = None
137     CACHES = {
138         'default': {
139             'BACKEND': 'redis_cache.RedisCache',
140             'LOCATION': 'cache:6379',
141         }
142     }
143 
144     BROKER_URL = "redis://cache:6379/0"
145     CELERY_RESULT_BACKEND = "redis://cache:6379/0"
146     CELERY_RESULT_SERIALIZER = "json"
147     CELERY_ALWAYS_EAGER = False
148     CELERY_TASK_IGNORE_RESULT = False
149 
150     EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
151 
152     RTD_BUILD_MEDIA_STORAGE = 'readthedocs.storage.s3_storage.S3BuildMediaStorage'
153     # Storage backend for build cached environments
154     RTD_BUILD_ENVIRONMENT_STORAGE = 'readthedocs.storage.s3_storage.S3BuildEnvironmentStorage'
155     # Storage backend for build languages
156     RTD_BUILD_TOOLS_STORAGE = 'readthedocs.storage.s3_storage.S3BuildToolsStorage'
157     # Storage for static files (those collected with `collectstatic`)
158     STATICFILES_STORAGE = 'readthedocs.storage.s3_storage.S3StaticStorage'
159 
160     AWS_ACCESS_KEY_ID = 'admin'
161     AWS_SECRET_ACCESS_KEY = 'password'
162     S3_MEDIA_STORAGE_BUCKET = 'media'
163     S3_BUILD_COMMANDS_STORAGE_BUCKET = 'builds'
164     S3_BUILD_ENVIRONMENT_STORAGE_BUCKET = 'envs'
165     S3_BUILD_TOOLS_STORAGE_BUCKET = 'build-tools'
166     S3_STATIC_STORAGE_BUCKET = 'static'
167     S3_STATIC_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'
168     S3_MEDIA_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'
169 
170     AWS_AUTO_CREATE_BUCKET = True
171     AWS_DEFAULT_ACL = 'public-read'
172     AWS_BUCKET_ACL = 'public-read'
173     AWS_S3_ENCRYPTION = False
174     AWS_S3_SECURE_URLS = False
175     AWS_S3_USE_SSL = False
176     AWS_S3_ENDPOINT_URL = 'http://storage:9000/'
177     AWS_QUERYSTRING_AUTH = False
178 
179     RTD_SAVE_BUILD_COMMANDS_TO_STORAGE = True
180     RTD_BUILD_COMMANDS_STORAGE = 'readthedocs.storage.s3_storage.S3BuildCommandsStorage'
181     BUILD_COLD_STORAGE_URL = 'http://storage:9000/builds'
182 
183     STATICFILES_DIRS = [
184         os.path.join(CommunityDevSettings.SITE_ROOT, 'readthedocs', 'static'),
185         os.path.join(CommunityDevSettings.SITE_ROOT, 'media'),
186     ]
187 
188     # Remove the checks on the number of fields being submitted
189     # This limit is mostly hit on large forms in the Django admin
190     DATA_UPLOAD_MAX_NUMBER_FIELDS = None
191 
192     # This allows us to have CORS work well in dev
193     CORS_ORIGIN_ALLOW_ALL = True
194
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/readthedocs/settings/docker_compose.py b/readthedocs/settings/docker_compose.py
--- a/readthedocs/settings/docker_compose.py
+++ b/readthedocs/settings/docker_compose.py
@@ -167,9 +167,6 @@
     S3_STATIC_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'
     S3_MEDIA_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'
 
-    AWS_AUTO_CREATE_BUCKET = True
-    AWS_DEFAULT_ACL = 'public-read'
-    AWS_BUCKET_ACL = 'public-read'
     AWS_S3_ENCRYPTION = False
     AWS_S3_SECURE_URLS = False
     AWS_S3_USE_SSL = False

{"golden_diff": "diff --git a/readthedocs/settings/docker_compose.py b/readthedocs/settings/docker_compose.py\n--- a/readthedocs/settings/docker_compose.py\n+++ b/readthedocs/settings/docker_compose.py\n@@ -167,9 +167,6 @@\n     S3_STATIC_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'\n     S3_MEDIA_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'\n \n-    AWS_AUTO_CREATE_BUCKET = True\n-    AWS_DEFAULT_ACL = 'public-read'\n-    AWS_BUCKET_ACL = 'public-read'\n     AWS_S3_ENCRYPTION = False\n     AWS_S3_SECURE_URLS = False\n     AWS_S3_USE_SSL = False\n", "issue": "OSError: File does not exist: staticfiles.json - Dev Install\n## Details\r\n\r\n* Read the Docs project URL: **N/A**\r\n* Build URL (if applicable): **N/A**\r\n* Read the Docs username (if applicable): **N/A**\r\n\r\n## Expected Result\r\n\r\nShow the http://community.dev.readthedocs.io/ local site and allow you to login and generate docs.\r\n\r\n## Actual Result\r\n\r\n![Screenshot 2022-01-14 002309](https://user-images.githubusercontent.com/12134329/149456476-6e2d0d65-9d7b-4880-b798-1ee74985870c.png)\r\n\r\nThis error also shows up when you try to go to http://community.dev.readthedocs.io/ but in the form of a nicely formatted django error with details about it.\r\n\n", "before_files": [{"content": "import os\nimport socket\n\nfrom .dev import CommunityDevSettings\n\n\nclass DockerBaseSettings(CommunityDevSettings):\n\n    \"\"\"Settings for local development with Docker\"\"\"\n\n    DOCKER_ENABLE = True\n    RTD_DOCKER_COMPOSE = True\n    RTD_DOCKER_COMPOSE_VOLUME = 'community_build-user-builds'\n    RTD_DOCKER_USER = f'{os.geteuid()}:{os.getegid()}'\n    DOCKER_LIMITS = {'memory': '1g', 'time': 900}\n    USE_SUBDOMAIN = True\n\n    PRODUCTION_DOMAIN = 'community.dev.readthedocs.io'\n    PUBLIC_DOMAIN = 'community.dev.readthedocs.io'\n    PUBLIC_API_URL = f'http://{PRODUCTION_DOMAIN}'\n\n    SLUMBER_API_HOST = 'http://web:8000'\n    SLUMBER_USERNAME = 'admin'\n    SLUMBER_PASSWORD = 'admin'\n\n    RTD_EXTERNAL_VERSION_DOMAIN = 'org.dev.readthedocs.build'\n\n    STATIC_URL = '/static/'\n\n    # In the local docker environment, nginx should be trusted to set the host correctly\n    USE_X_FORWARDED_HOST = True\n\n    MULTIPLE_BUILD_SERVERS = ['build']\n\n    # https://docs.docker.com/engine/reference/commandline/run/#add-entries-to-container-hosts-file---add-host\n    # export HOSTIP=`ip -4 addr show scope global dev wlp4s0 | grep inet | awk '{print \\$2}' | cut -d / -f 1`\n    HOSTIP = os.environ.get('HOSTIP')\n\n    # If the host IP is not specified, try to get it from the socket address list\n    _, __, ips = socket.gethostbyname_ex(socket.gethostname())\n    if ips and not HOSTIP:\n        HOSTIP = ips[0][:-1] + \"1\"\n\n    # Turn this on to test ads\n    USE_PROMOS = False\n    ADSERVER_API_BASE = f'http://{HOSTIP}:5000'\n    # Create a Token for an admin User and set it here.\n    ADSERVER_API_KEY = None\n    ADSERVER_API_TIMEOUT = 2  # seconds - Docker for Mac is very slow\n\n    # New templates\n    @property\n    def RTD_EXT_THEME_DEV_SERVER_ENABLED(self):\n        return os.environ.get('RTD_EXT_THEME_DEV_SERVER_ENABLED') is not None\n\n    @property\n    def RTD_EXT_THEME_DEV_SERVER(self):\n        if self.RTD_EXT_THEME_DEV_SERVER_ENABLED:\n            return \"http://assets.community.dev.readthedocs.io:10001\"\n\n    # Enable auto syncing elasticsearch documents\n    ELASTICSEARCH_DSL_AUTOSYNC = 'SEARCH' in os.environ\n\n    RTD_CLEAN_AFTER_BUILD = True\n\n    @property\n    def RTD_EMBED_API_EXTERNAL_DOMAINS(self):\n        domains = super().RTD_EMBED_API_EXTERNAL_DOMAINS\n        domains.extend([\n            r'.*\\.readthedocs\\.io',\n            r'.*\\.org\\.readthedocs\\.build',\n            r'.*\\.readthedocs-hosted\\.com',\n            r'.*\\.com\\.readthedocs\\.build',\n        ])\n        return domains\n\n    @property\n    def LOGGING(self):\n        logging = super().LOGGING\n        logging['handlers']['console']['formatter'] = 'colored_console'\n        logging['loggers'].update({\n            # Disable Django access requests logging (e.g. GET /path/to/url)\n            # https://github.com/django/django/blob/ca9872905559026af82000e46cde6f7dedc897b6/django/core/servers/basehttp.py#L24\n            'django.server': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            # Disable S3 logging\n            'boto3': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            'botocore': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            's3transfer': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            # Disable Docker API logging\n            'urllib3': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            # Disable gitpython logging\n            'git.cmd': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n        })\n        return logging\n\n    @property\n    def DATABASES(self):  # noqa\n        return {\n            \"default\": {\n                \"ENGINE\": \"django.db.backends.postgresql_psycopg2\",\n                \"NAME\": \"docs_db\",\n                \"USER\": os.environ.get(\"DB_USER\", \"docs_user\"),\n                \"PASSWORD\": os.environ.get(\"DB_PWD\", \"docs_pwd\"),\n                \"HOST\": os.environ.get(\"DB_HOST\", \"database\"),\n                \"PORT\": \"\",\n            }\n        }\n\n    def show_debug_toolbar(request):\n        from django.conf import settings\n        return settings.DEBUG\n\n    DEBUG_TOOLBAR_CONFIG = {\n        'SHOW_TOOLBAR_CALLBACK': show_debug_toolbar,\n    }\n\n    ACCOUNT_EMAIL_VERIFICATION = \"none\"\n    SESSION_COOKIE_DOMAIN = None\n    CACHES = {\n        'default': {\n            'BACKEND': 'redis_cache.RedisCache',\n            'LOCATION': 'cache:6379',\n        }\n    }\n\n    BROKER_URL = \"redis://cache:6379/0\"\n    CELERY_RESULT_BACKEND = \"redis://cache:6379/0\"\n    CELERY_RESULT_SERIALIZER = \"json\"\n    CELERY_ALWAYS_EAGER = False\n    CELERY_TASK_IGNORE_RESULT = False\n\n    EMAIL_BACKEND = \"django.core.mail.backends.console.EmailBackend\"\n\n    RTD_BUILD_MEDIA_STORAGE = 'readthedocs.storage.s3_storage.S3BuildMediaStorage'\n    # Storage backend for build cached environments\n    RTD_BUILD_ENVIRONMENT_STORAGE = 'readthedocs.storage.s3_storage.S3BuildEnvironmentStorage'\n    # Storage backend for build languages\n    RTD_BUILD_TOOLS_STORAGE = 'readthedocs.storage.s3_storage.S3BuildToolsStorage'\n    # Storage for static files (those collected with `collectstatic`)\n    STATICFILES_STORAGE = 'readthedocs.storage.s3_storage.S3StaticStorage'\n\n    AWS_ACCESS_KEY_ID = 'admin'\n    AWS_SECRET_ACCESS_KEY = 'password'\n    S3_MEDIA_STORAGE_BUCKET = 'media'\n    S3_BUILD_COMMANDS_STORAGE_BUCKET = 'builds'\n    S3_BUILD_ENVIRONMENT_STORAGE_BUCKET = 'envs'\n    S3_BUILD_TOOLS_STORAGE_BUCKET = 'build-tools'\n    S3_STATIC_STORAGE_BUCKET = 'static'\n    S3_STATIC_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'\n    S3_MEDIA_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'\n\n    AWS_AUTO_CREATE_BUCKET = True\n    AWS_DEFAULT_ACL = 'public-read'\n    AWS_BUCKET_ACL = 'public-read'\n    AWS_S3_ENCRYPTION = False\n    AWS_S3_SECURE_URLS = False\n    AWS_S3_USE_SSL = False\n    AWS_S3_ENDPOINT_URL = 'http://storage:9000/'\n    AWS_QUERYSTRING_AUTH = False\n\n    RTD_SAVE_BUILD_COMMANDS_TO_STORAGE = True\n    RTD_BUILD_COMMANDS_STORAGE = 'readthedocs.storage.s3_storage.S3BuildCommandsStorage'\n    BUILD_COLD_STORAGE_URL = 'http://storage:9000/builds'\n\n    STATICFILES_DIRS = [\n        os.path.join(CommunityDevSettings.SITE_ROOT, 'readthedocs', 'static'),\n        os.path.join(CommunityDevSettings.SITE_ROOT, 'media'),\n    ]\n\n    # Remove the checks on the number of fields being submitted\n    # This limit is mostly hit on large forms in the Django admin\n    DATA_UPLOAD_MAX_NUMBER_FIELDS = None\n\n    # This allows us to have CORS work well in dev\n    CORS_ORIGIN_ALLOW_ALL = True\n", "path": "readthedocs/settings/docker_compose.py"}], "after_files": [{"content": "import os\nimport socket\n\nfrom .dev import CommunityDevSettings\n\n\nclass DockerBaseSettings(CommunityDevSettings):\n\n    \"\"\"Settings for local development with Docker\"\"\"\n\n    DOCKER_ENABLE = True\n    RTD_DOCKER_COMPOSE = True\n    RTD_DOCKER_COMPOSE_VOLUME = 'community_build-user-builds'\n    RTD_DOCKER_USER = f'{os.geteuid()}:{os.getegid()}'\n    DOCKER_LIMITS = {'memory': '1g', 'time': 900}\n    USE_SUBDOMAIN = True\n\n    PRODUCTION_DOMAIN = 'community.dev.readthedocs.io'\n    PUBLIC_DOMAIN = 'community.dev.readthedocs.io'\n    PUBLIC_API_URL = f'http://{PRODUCTION_DOMAIN}'\n\n    SLUMBER_API_HOST = 'http://web:8000'\n    SLUMBER_USERNAME = 'admin'\n    SLUMBER_PASSWORD = 'admin'\n\n    RTD_EXTERNAL_VERSION_DOMAIN = 'org.dev.readthedocs.build'\n\n    STATIC_URL = '/static/'\n\n    # In the local docker environment, nginx should be trusted to set the host correctly\n    USE_X_FORWARDED_HOST = True\n\n    MULTIPLE_BUILD_SERVERS = ['build']\n\n    # https://docs.docker.com/engine/reference/commandline/run/#add-entries-to-container-hosts-file---add-host\n    # export HOSTIP=`ip -4 addr show scope global dev wlp4s0 | grep inet | awk '{print \\$2}' | cut -d / -f 1`\n    HOSTIP = os.environ.get('HOSTIP')\n\n    # If the host IP is not specified, try to get it from the socket address list\n    _, __, ips = socket.gethostbyname_ex(socket.gethostname())\n    if ips and not HOSTIP:\n        HOSTIP = ips[0][:-1] + \"1\"\n\n    # Turn this on to test ads\n    USE_PROMOS = False\n    ADSERVER_API_BASE = f'http://{HOSTIP}:5000'\n    # Create a Token for an admin User and set it here.\n    ADSERVER_API_KEY = None\n    ADSERVER_API_TIMEOUT = 2  # seconds - Docker for Mac is very slow\n\n    # New templates\n    @property\n    def RTD_EXT_THEME_DEV_SERVER_ENABLED(self):\n        return os.environ.get('RTD_EXT_THEME_DEV_SERVER_ENABLED') is not None\n\n    @property\n    def RTD_EXT_THEME_DEV_SERVER(self):\n        if self.RTD_EXT_THEME_DEV_SERVER_ENABLED:\n            return \"http://assets.community.dev.readthedocs.io:10001\"\n\n    # Enable auto syncing elasticsearch documents\n    ELASTICSEARCH_DSL_AUTOSYNC = 'SEARCH' in os.environ\n\n    RTD_CLEAN_AFTER_BUILD = True\n\n    @property\n    def RTD_EMBED_API_EXTERNAL_DOMAINS(self):\n        domains = super().RTD_EMBED_API_EXTERNAL_DOMAINS\n        domains.extend([\n            r'.*\\.readthedocs\\.io',\n            r'.*\\.org\\.readthedocs\\.build',\n            r'.*\\.readthedocs-hosted\\.com',\n            r'.*\\.com\\.readthedocs\\.build',\n        ])\n        return domains\n\n    @property\n    def LOGGING(self):\n        logging = super().LOGGING\n        logging['handlers']['console']['formatter'] = 'colored_console'\n        logging['loggers'].update({\n            # Disable Django access requests logging (e.g. GET /path/to/url)\n            # https://github.com/django/django/blob/ca9872905559026af82000e46cde6f7dedc897b6/django/core/servers/basehttp.py#L24\n            'django.server': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            # Disable S3 logging\n            'boto3': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            'botocore': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            's3transfer': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            # Disable Docker API logging\n            'urllib3': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n            # Disable gitpython logging\n            'git.cmd': {\n                'handlers': ['null'],\n                'propagate': False,\n            },\n        })\n        return logging\n\n    @property\n    def DATABASES(self):  # noqa\n        return {\n            \"default\": {\n                \"ENGINE\": \"django.db.backends.postgresql_psycopg2\",\n                \"NAME\": \"docs_db\",\n                \"USER\": os.environ.get(\"DB_USER\", \"docs_user\"),\n                \"PASSWORD\": os.environ.get(\"DB_PWD\", \"docs_pwd\"),\n                \"HOST\": os.environ.get(\"DB_HOST\", \"database\"),\n                \"PORT\": \"\",\n            }\n        }\n\n    def show_debug_toolbar(request):\n        from django.conf import settings\n        return settings.DEBUG\n\n    DEBUG_TOOLBAR_CONFIG = {\n        'SHOW_TOOLBAR_CALLBACK': show_debug_toolbar,\n    }\n\n    ACCOUNT_EMAIL_VERIFICATION = \"none\"\n    SESSION_COOKIE_DOMAIN = None\n    CACHES = {\n        'default': {\n            'BACKEND': 'redis_cache.RedisCache',\n            'LOCATION': 'cache:6379',\n        }\n    }\n\n    BROKER_URL = \"redis://cache:6379/0\"\n    CELERY_RESULT_BACKEND = \"redis://cache:6379/0\"\n    CELERY_RESULT_SERIALIZER = \"json\"\n    CELERY_ALWAYS_EAGER = False\n    CELERY_TASK_IGNORE_RESULT = False\n\n    EMAIL_BACKEND = \"django.core.mail.backends.console.EmailBackend\"\n\n    RTD_BUILD_MEDIA_STORAGE = 'readthedocs.storage.s3_storage.S3BuildMediaStorage'\n    # Storage backend for build cached environments\n    RTD_BUILD_ENVIRONMENT_STORAGE = 'readthedocs.storage.s3_storage.S3BuildEnvironmentStorage'\n    # Storage backend for build languages\n    RTD_BUILD_TOOLS_STORAGE = 'readthedocs.storage.s3_storage.S3BuildToolsStorage'\n    # Storage for static files (those collected with `collectstatic`)\n    STATICFILES_STORAGE = 'readthedocs.storage.s3_storage.S3StaticStorage'\n\n    AWS_ACCESS_KEY_ID = 'admin'\n    AWS_SECRET_ACCESS_KEY = 'password'\n    S3_MEDIA_STORAGE_BUCKET = 'media'\n    S3_BUILD_COMMANDS_STORAGE_BUCKET = 'builds'\n    S3_BUILD_ENVIRONMENT_STORAGE_BUCKET = 'envs'\n    S3_BUILD_TOOLS_STORAGE_BUCKET = 'build-tools'\n    S3_STATIC_STORAGE_BUCKET = 'static'\n    S3_STATIC_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'\n    S3_MEDIA_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'\n\n    AWS_S3_ENCRYPTION = False\n    AWS_S3_SECURE_URLS = False\n    AWS_S3_USE_SSL = False\n    AWS_S3_ENDPOINT_URL = 'http://storage:9000/'\n    AWS_QUERYSTRING_AUTH = False\n\n    RTD_SAVE_BUILD_COMMANDS_TO_STORAGE = True\n    RTD_BUILD_COMMANDS_STORAGE = 'readthedocs.storage.s3_storage.S3BuildCommandsStorage'\n    BUILD_COLD_STORAGE_URL = 'http://storage:9000/builds'\n\n    STATICFILES_DIRS = [\n        os.path.join(CommunityDevSettings.SITE_ROOT, 'readthedocs', 'static'),\n        os.path.join(CommunityDevSettings.SITE_ROOT, 'media'),\n    ]\n\n    # Remove the checks on the number of fields being submitted\n    # This limit is mostly hit on large forms in the Django admin\n    DATA_UPLOAD_MAX_NUMBER_FIELDS = None\n\n    # This allows us to have CORS work well in dev\n    CORS_ORIGIN_ALLOW_ALL = True\n", "path": "readthedocs/settings/docker_compose.py"}]}