We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a2b3a49 + 807bf33 commit 1bb3d89Copy full SHA for 1bb3d89
1 file changed
compose.yaml
@@ -1,16 +1,17 @@
1
+name: django
2
services:
3
django:
4
restart: unless-stopped
5
build:
6
context: ./app
7
dockerfile: Dockerfile
8
ports:
- - mode: ingress
9
- target: 8000
10
- # published: 8000 # uncomment for local dev
+ - mode: ingress
+ target: 8000
11
environment:
12
- - DEBUG=False # set to "True" for local dev
13
- #deploy:
14
- # resources:
15
- # reservations:
16
- # memory: 256M
+ - DEBUG=False
+ deploy:
+ resources:
+ reservations:
+ cpus: '0.5'
17
+ memory: 512M
0 commit comments