File tree Expand file tree Collapse file tree 3 files changed +83
-4
lines changed Expand file tree Collapse file tree 3 files changed +83
-4
lines changed Original file line number Diff line number Diff line change
1
+ FROM mcr.microsoft.com/devcontainers/base:jammy
2
+
3
+ ENV PYTHONUNBUFFERED 1
4
+
5
+ # [Optional] If your requirements rarely change, uncomment this section to add them to the image.
6
+ # COPY requirements.txt /tmp/pip-tmp/
7
+ # RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
8
+ # && rm -rf /tmp/pip-tmp
9
+
10
+ # [Optional] Uncomment this section to install additional OS packages.
11
+ # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
12
+ # && apt-get -y install --no-install-recommends <your-package-list-here>
13
+
14
+ CMD ["sleep" , "infinity" ]
Original file line number Diff line number Diff line change
1
+ services :
2
+ dev :
3
+ build :
4
+ context : .
5
+ dockerfile : ./Dockerfile
6
+
7
+ env_file : dev.env
8
+
9
+ volumes :
10
+ - ..:/workspace:cached
11
+
12
+ command : sleep infinity
13
+
14
+ pg10 :
15
+ image : postgres:10
16
+ restart : unless-stopped
17
+ volumes :
18
+ - postgres-data-10:/var/lib/postgresql/data
19
+ environment :
20
+ POSTGRES_USER : postgres
21
+ POSTGRES_DB : postgres
22
+ POSTGRES_PASSWORD : postgres
23
+
24
+ pg12 :
25
+ image : postgres:12
26
+ restart : unless-stopped
27
+ volumes :
28
+ - postgres-data-12:/var/lib/postgresql/data
29
+ environment :
30
+ POSTGRES_USER : postgres
31
+ POSTGRES_DB : postgres
32
+ POSTGRES_PASSWORD : postgres
33
+
34
+ pg14 :
35
+ image : postgres:14
36
+ restart : unless-stopped
37
+ volumes :
38
+ - postgres-data-14:/var/lib/postgresql/data
39
+ environment :
40
+ POSTGRES_USER : postgres
41
+ POSTGRES_DB : postgres
42
+ POSTGRES_PASSWORD : postgres
43
+
44
+ pg15 :
45
+ image : postgres:15
46
+ restart : unless-stopped
47
+ volumes :
48
+ - postgres-data-15:/var/lib/postgresql/data
49
+ environment :
50
+ POSTGRES_USER : postgres
51
+ POSTGRES_DB : postgres
52
+ POSTGRES_PASSWORD : postgres
53
+
54
+ pg16 :
55
+ image : postgres:16
56
+ restart : unless-stopped
57
+ volumes :
58
+ - postgres-data-16:/var/lib/postgresql/data
59
+ environment :
60
+ POSTGRES_USER : postgres
61
+ POSTGRES_DB : postgres
62
+ POSTGRES_PASSWORD : postgres
63
+
64
+ volumes :
65
+ postgres-data-10 :
66
+ postgres-data-12 :
67
+ postgres-data-14 :
68
+ postgres-data-15 :
69
+ postgres-data-16 :
Original file line number Diff line number Diff line change @@ -20,10 +20,6 @@ _build_doctrees/
20
20
21
21
/local /
22
22
/tests /LOCAL_ * .py
23
- docker-compose.yml
24
- Dockerfile
25
- Vagrantfile
26
- Vagrantfile- *
27
23
28
24
.coverage
29
25
.tox /
You can’t perform that action at this time.
0 commit comments