mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-25 07:49:21 +01:00
🐳 Docker
This commit is contained in:
parent
789094a2ee
commit
8cd90d1e96
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 build
|
||||
#
|
||||
EXPOSE 3001
|
||||
EXPOSE 50013
|
||||
VOLUME ["/app/data"]
|
||||
CMD ["npm", "run", "start-server"]
|
Loading…
Reference in New Issue
Block a user