diff options
Diffstat (limited to '{{cookiecutter.project_name}}/docker-compose.yml')
-rw-r--r-- | {{cookiecutter.project_name}}/docker-compose.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/{{cookiecutter.project_name}}/docker-compose.yml b/{{cookiecutter.project_name}}/docker-compose.yml new file mode 100644 index 0000000..18e410e --- /dev/null +++ b/{{cookiecutter.project_name}}/docker-compose.yml @@ -0,0 +1,14 @@ +version: '3' +services: + backend: + build: ./docker/ + network_mode: "bridge" + container_name: {{cookiecutter.project_name}} + image: {{cookiecutter.docker_owner}}/{{cookiecutter.project_name}} + ports: + - "8000" + volumes: + - .:/usr/src/app + command: /bin/bash + tty: true + stdin_open: true |