Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 790 Bytes

File metadata and controls

28 lines (18 loc) · 790 Bytes

docker-django-nuxt-nginx-template

based on https://github.com/naritotakizawa/docker-drf-and-nuxt-template

development

docker-compose -f docker-compose.yml -f dev.yml build
docker-compose -f docker-compose.yml -f dev.yml up

open http://127.0.0.1

production

change ALLOWED_HOSTS in prod.yml to your IP or host name

docker-compose -f docker-compose.yml -f prod.yml build
docker-compose -f docker-compose.yml -f prod.yml up

open http://[your IP or host name]

Tips for developing inside a container (VS Code)

VS Code Remote Containers is a useful extension that helps you smoothly write your code in docker containers.
This repo provides configuration files both for frontend and for backend.