- Create a symlink with name docker-compose.yml to docker-compose.local.yml
ln -s docker-compose.yml docker-compose.local.yml
-
Rename .env_sample to .env and change it settings accordingly for the project
-
Inside project root rename local_settings_sample.py to local_settings.py and change it settings accordingly for the project
-
Bulid docker image
docker-compose build
- Run external services
docker-compose -f external_services.yml up -d
- Run the project in docker
docker-compose -f docker-compose.local.yml up -d