🐳 Docker

pull/32/head^2
Philipp Dormann 3 years ago
parent 789094a2ee
commit 8cd90d1e96
No known key found for this signature in database
GPG Key ID: 3BB9ADD52DCA4314

@ -0,0 +1,12 @@
version: "3.4"
services:
uptimekuma:
image: uptimekuma
build: .
environment:
NODE_ENV: development
ports:
- 50013:50013
- 9229:9229
command: ["node", "--inspect=0.0.0.0:9229", "server/server.js"]

@ -0,0 +1,10 @@
version: "3.4"
services:
uptimekuma:
image: uptimekuma
build: .
environment:
NODE_ENV: production
ports:
- 50013:50013

@ -5,6 +5,6 @@ COPY . .
RUN yarn
RUN yarn build
#
EXPOSE 3001
EXPOSE 50013
VOLUME ["/app/data"]
CMD ["npm", "run", "start-server"]
Loading…
Cancel
Save