Skip to content

Commit

Permalink
include a test config
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Smith committed Apr 27, 2020
1 parent be7bb8b commit 981bd08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis/docker-compose-travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
container_name: edx_notes_api
volumes:
- ..:/edx/app/notes
- ./edx_notes_api.yml:/edx/etc/edx_notes_api.yml
command: tail -f /dev/null
depends_on:
- "db"
Expand Down
9 changes: 9 additions & 0 deletions .travis/edx_notes_api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
DATABASES:
default:
ENGINE: "django.db.backends.mysql"
HOST: "db"
NAME: "edx_notes_api"
PASSWORD: "secret"
PORT: "3306"
USER: "notes001"
ELASTICSEARCH_URL: "http://es:9200"

0 comments on commit 981bd08

Please sign in to comment.