forked from 5monkeys/django-bananas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (53 loc) · 1.15 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: "3.3"
services:
django1:
build:
context: .
args:
DJANGO: ">=1.11.16,<2"
command: ["runserver", "0.0.0.0:8000"]
stdin_open: true
tty: true
ports:
- "8000:8000"
volumes:
- .:/usr/src/django-bananas
- ./example:/app
environment:
PYTHONUNBUFFERED: "1"
PYTHONDONTWRITEBYTECODE: "True"
django2:
build:
context: .
args:
DJANGO: ">=2.0.9,<2.3"
command: ["runserver", "0.0.0.0:8000"]
stdin_open: true
tty: true
ports:
- "8002:8000"
volumes:
- .:/usr/src/django-bananas
- ./example:/app
environment:
PYTHONUNBUFFERED: "1"
PYTHONDONTWRITEBYTECODE: "True"
DJANGO_LANGUAGE_CODE: "sv-se"
django3:
build:
context: .
args:
DJANGO: "<3.1"
REQUIREMENTS: "requirements_django3.txt"
command: ["runserver", "0.0.0.0:8000"]
stdin_open: true
tty: true
ports:
- "8003:8000"
volumes:
- .:/usr/src/django-bananas
- ./example:/app
environment:
PYTHONUNBUFFERED: "1"
PYTHONDONTWRITEBYTECODE: "True"
DJANGO_LANGUAGE_CODE: "sv-se"