diff --git a/.travis/docker-compose-travis.yml b/.travis/docker-compose-travis.yml index 58689025..b70d9de0 100644 --- a/.travis/docker-compose-travis.yml +++ b/.travis/docker-compose-travis.yml @@ -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" diff --git a/.travis/edx_notes_api.yml b/.travis/edx_notes_api.yml new file mode 100644 index 00000000..6c5ea951 --- /dev/null +++ b/.travis/edx_notes_api.yml @@ -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"