-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathcompose.yml
More file actions
147 lines (135 loc) · 3.04 KB
/
compose.yml
File metadata and controls
147 lines (135 loc) · 3.04 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
services:
pydebian:
profiles: [pydebian]
env_file:
- path: "docker/env/python"
required: true
- path: "docker/env/python.local"
required: false
user: "${UID:-1000}:${GID:-1000}"
build:
context: .
dockerfile: "debian.Dockerfile"
image: turicas/rows-pydebian:dev
pull_policy: build
volumes:
- ${PWD}/docker/data/python/:/data/
- ${PWD}/:/app/
depends_on:
postgres:
condition: service_healthy
py313:
profiles: [py313]
env_file:
- path: "docker/env/python"
required: true
- path: "docker/env/python.local"
required: false
user: "${UID:-1000}:${GID:-1000}"
build:
context: .
dockerfile: "Dockerfile"
args:
PYTHON_IMAGE: "python"
PYTHON_VERSION: "3.13"
DEBIAN_VERSION: "bookworm"
image: turicas/rows-py313:dev
pull_policy: build
volumes:
- ${PWD}/docker/data/python/:/data/
- ${PWD}/:/app/
depends_on:
postgres:
condition: service_healthy
py312:
profiles: [py312]
extends:
service: py313
build:
args:
PYTHON_VERSION: "3.12"
image: turicas/rows-py312:dev
py311:
profiles: [py311]
extends:
service: py313
build:
args:
PYTHON_VERSION: "3.11"
image: turicas/rows-py311:dev
py310:
profiles: [py310]
extends:
service: py313
build:
args:
PYTHON_VERSION: "3.10"
image: turicas/rows-py310:dev
py39:
profiles: [py39]
extends:
service: py313
build:
args:
PYTHON_VERSION: "3.9"
image: turicas/rows-py39:dev
py38:
profiles: [py38]
extends:
service: py313
build:
args:
PYTHON_VERSION: "3.8"
image: turicas/rows-py38:dev
py37:
profiles: [py37]
extends:
service: py313
build:
args:
PYTHON_VERSION: "3.7"
image: turicas/rows-py37:dev
py36:
profiles: [py36]
extends:
service: py313
build:
args:
PYTHON_IMAGE: "turicas/python"
PYTHON_VERSION: "3.6"
image: turicas/rows-py36:dev
py35:
profiles: [py35]
extends:
service: py313
build:
args:
PYTHON_IMAGE: "turicas/python"
PYTHON_VERSION: "3.5"
image: turicas/rows-py35:dev
py27:
profiles: [py27]
extends:
service: py313
build:
args:
PYTHON_IMAGE: "turicas/python"
PYTHON_VERSION: "2.7"
image: turicas/rows-py27:dev
postgres:
env_file:
- path: "docker/env/postgres"
required: true
- path: "docker/env/postgres.local"
required: false
user: "${UID:-1000}:${GID:-1000}"
shm_size: "4g"
image: "postgres:17.7-trixie"
command: ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
volumes:
- ${PWD}/docker/data/postgres/:/data/
- ${PWD}/docker/conf/postgres/postgresql.dev.conf:/etc/postgresql/postgresql.conf
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 3s
retries: 5