We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 164b0f1 + 7ab7f6e commit 773fb9fCopy full SHA for 773fb9f
1 file changed
compose.yaml
@@ -1,19 +1,24 @@
1
+name: nodejs-s3
2
services:
3
app:
4
restart: unless-stopped
5
build:
6
context: ./app
7
dockerfile: Dockerfile
8
ports:
- - mode: ingress
9
- target: 3000
10
- published: 3000
+ - mode: ingress
+ target: 3000
11
+ published: 3000
12
environment:
- - AWS_ACCESS_KEY
13
- - AWS_SECRET_KEY
+ - AWS_ACCESS_KEY
14
+ - AWS_SECRET_KEY
15
deploy:
16
resources:
17
reservations:
18
memory: 256M
19
healthcheck:
- test: ["CMD", "curl", "-f", "http://localhost:3000/"]
20
+ test:
21
+ - CMD
22
+ - curl
23
+ - -f
24
+ - http://localhost:3000/
0 commit comments