aboutsummaryrefslogtreecommitdiff
path: root/{{cookiecutter.project_name}}/docker-compose.yml
blob: a318c45ec3af473d038d8888be6886df1e707209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
version: '3'
services:
  backend:
    build:
      context: ./
      dockerfile: ./docker/Dockerfile
    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