mirror of
https://gitplac.si/aljaxus/upn-qr.git
synced 2025-12-17 04:00:59 +00:00
restructure stuff, add logging, use node 20
This commit is contained in:
@@ -5,16 +5,16 @@ services:
|
||||
image: node:14
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: dockerfile
|
||||
command: ["yarn", "run", "dev"]
|
||||
environment:
|
||||
ENV: development
|
||||
NODE_ENV: development
|
||||
volumes:
|
||||
- ./src:/var/src
|
||||
- /var/src/node_modules
|
||||
- ./:/app
|
||||
- /app/node_modules
|
||||
ports:
|
||||
- 8080:80
|
||||
- 80:80
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-sSG", "http://localhost/healthcheck"]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user