aboutsummaryrefslogtreecommitdiff
path: root/{{cookiecutter.project_name}}/docker-compose.yml
blob: 18e410e07e5dc4718d956add76ca9e0f4bbe86dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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