mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
🐳 Docker
This commit is contained in:
parent
789094a2ee
commit
8cd90d1e96
3 changed files with 23 additions and 1 deletions
12
docker-compose.debug.yml
Normal file
12
docker-compose.debug.yml
Normal file
|
@ -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"]
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
|
@ -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
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
#
|
#
|
||||||
EXPOSE 3001
|
EXPOSE 50013
|
||||||
VOLUME ["/app/data"]
|
VOLUME ["/app/data"]
|
||||||
CMD ["npm", "run", "start-server"]
|
CMD ["npm", "run", "start-server"]
|
Loading…
Reference in a new issue