File: web-docker-compose.yaml

package info (click to toggle)
django-q 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,276 kB
  • sloc: python: 5,686; makefile: 181; sh: 30
file content (16 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
services:
  web:
    restart: always
    command: bash -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
    ports:
      - "127.0.0.1:8000:8000"
    build: .
    volumes:
      - .:/app

  django-q:
    restart: always
    command: bash -c "python manage.py migrate && python manage.py qcluster"
    build: .
    volumes:
      - .:/app