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

View File

@@ -81,7 +81,7 @@ section div {
<input type="number" placeholder="00000001132" min="0" max="99999999999" name="amount">
</div>
<div>
<label for="deadline">Rok plačila</label>
<label for="deadline">Deadline</label>
<input type="text" placeholder="01.02.2034" min=0 max=10 name="deadline">
</div>
<div>