Skip to content

Commit

Permalink
By default don't bypass auth, and ensure mysql docker persists data.
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Aug 31, 2024
1 parent 1dcc8bb commit 172bb9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ services:
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_DATABASE=olympia
volumes:
- mysql_db:/var/lib/mysql

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.1
Expand Down Expand Up @@ -88,7 +90,7 @@ services:
- RABBITMQ_DEFAULT_PASS=olympia
- RABBITMQ_DEFAULT_VHOST=olympia

# ATN Doesn't sign addons, but we need it for tests
# ATN Doesn't sign addons, but we need it for tests
autograph:
image: mozilla/autograph:2.7.0

Expand All @@ -105,3 +107,6 @@ services:
# command: yarn amo:ui-tests
# links:
# - "nginx:olympia.test"

volumes:
mysql_db:
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
WSGI_APPLICATION = 'olympia.wsgi.application'

DEBUG = True
DEV_BYPASS_AUTH = True
DEV_BYPASS_AUTH = False

# These apps are great during development.
INSTALLED_APPS += (
Expand Down

0 comments on commit 172bb9b

Please sign in to comment.