Skip to content

Commit 43e4f9c

Browse files
committed
Use admin user for SLUMBER API on local environment
By default on local docker environment we were usign `test` user for SLUMBER API. However, this user is not created at `--init` and it has to be created manually. To avoid this extra step, we are defining `admin` user for SLUMBER which is created automatically on init.
1 parent cc1a02d commit 43e4f9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/settings/docker_compose.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class DockerBaseSettings(CommunityDevSettings):
2020
PUBLIC_API_URL = f'http://{PRODUCTION_DOMAIN}'
2121

2222
SLUMBER_API_HOST = 'http://web:8000'
23+
SLUMBER_USERNAME = 'admin'
24+
SLUMBER_PASSWORD = 'admin'
2325

2426
RTD_EXTERNAL_VERSION_DOMAIN = 'org.dev.readthedocs.build'
2527

0 commit comments

Comments
 (0)