1 # This file is intended to be used by the developer in the local machine
2 # in order to run the tests in isolation
3 # To do so, cd into osm_ro and run:
4 # docker-compose -f ../docker/tests.yml run --rm tox -c <folder to be tested, eg. wim>
9 container_name: test-db
12 - MYSQL_ROOT_PASSWORD=osm4u
14 - MYSQL_PASSWORD=manopw
15 - MYSQL_DATABASE=mano_db
22 dockerfile: docker/tests.dockerfile
25 - RO_DB_ROOT_PASSWORD=osm4u
26 - TEST_DB_HOST=test-db
28 - TEST_DB_PASSWORD=manopw
29 - TEST_DB_DATABASE=mano_db
34 - /tmp/osm/openmano/logs:/var/log/osm
37 working_dir: /opt/openmano/osm_ro