Update docker-compose.yaml, src/views/index.ejs

This commit is contained in:
Aljaž Starc
2022-08-31 14:08:50 +00:00
parent 1803672703
commit 2a2e674baf
2 changed files with 23 additions and 1 deletions

22
docker-compose.yaml Normal file
View File

@@ -0,0 +1,22 @@
version: 3.8
services:
image: node:14
build:
context: ./
dockerfile: Dockerfile
command: ["yarn", "run", "dev"]
environment:
ENV: development
NODE_ENV: development
volumes:
- ./src:/var/src
- /var/src/node_modules
ports:
- 8080:80
healthcheck:
test: ["CMD", "curl", "-sSG", "http://localhost/healthcheck"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s