mirror of
https://gitplac.si/aljaxus/upn-qr.git
synced 2025-12-17 04:00:59 +00:00
Fixed docker-compose
This commit is contained in:
@@ -1,22 +1,23 @@
|
|||||||
version: 3.8
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
image: node:14
|
app:
|
||||||
build:
|
image: node:14
|
||||||
context: ./
|
build:
|
||||||
dockerfile: Dockerfile
|
context: ./
|
||||||
command: ["yarn", "run", "dev"]
|
dockerfile: Dockerfile
|
||||||
environment:
|
command: ["yarn", "run", "dev"]
|
||||||
ENV: development
|
environment:
|
||||||
NODE_ENV: development
|
ENV: development
|
||||||
volumes:
|
NODE_ENV: development
|
||||||
- ./src:/var/src
|
volumes:
|
||||||
- /var/src/node_modules
|
- ./src:/var/src
|
||||||
ports:
|
- /var/src/node_modules
|
||||||
- 8080:80
|
ports:
|
||||||
healthcheck:
|
- 8080:80
|
||||||
test: ["CMD", "curl", "-sSG", "http://localhost/healthcheck"]
|
healthcheck:
|
||||||
interval: 30s
|
test: ["CMD", "curl", "-sSG", "http://localhost/healthcheck"]
|
||||||
timeout: 10s
|
interval: 30s
|
||||||
retries: 3
|
timeout: 10s
|
||||||
start_period: 15s
|
retries: 3
|
||||||
|
start_period: 15s
|
||||||
|
|||||||
Reference in New Issue
Block a user