mirror of
https://gitplac.si/aljaxus/upn-qr.git
synced 2025-12-17 04:00:59 +00:00
Update docker-compose.yaml, src/views/index.ejs
This commit is contained in:
22
docker-compose.yaml
Normal file
22
docker-compose.yaml
Normal 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
|
||||||
@@ -81,7 +81,7 @@ section div {
|
|||||||
<input type="number" placeholder="00000001132" min="0" max="99999999999" name="amount">
|
<input type="number" placeholder="00000001132" min="0" max="99999999999" name="amount">
|
||||||
</div>
|
</div>
|
||||||
<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">
|
<input type="text" placeholder="01.02.2034" min=0 max=10 name="deadline">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user