-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (55 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
60 lines (55 loc) · 1.1 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
x-build-args: &build_args
INSTALL_PYTHON_VERSION: "3.12.8"
x-default-volumes: &default_volumes
volumes:
- ./:/app
services:
mind-matter-flask-dev:
build:
context: .
target: development
args:
<<: *build_args
image: "mind-matter-development"
ports:
- "5000:5000"
- "2992:2992"
env_file:
- .env
environment:
FLASK_ENV: development
FLASK_DEBUG: 1
<<: *default_volumes
mind-matter-flask-prod:
build:
context: .
target: production
args:
<<: *build_args
image: "mind-matter-production"
ports:
- "5000:5000"
env_file:
- .env
environment:
FLASK_ENV: production
FLASK_DEBUG: 0
LOG_LEVEL: info
GUNICORN_WORKERS: 4
<<: *default_volumes
mind-matter-manage:
build:
context: .
target: development
args:
<<: *build_args
entrypoint: flask
env_file:
- .env
environment:
FLASK_ENV: production
FLASK_DEBUG: 0
image: "mind-matter-manage"
stdin_open: true
tty: true
<<: *default_volumes