27 lines
1019 B
YAML
27 lines
1019 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
kuma-migration:
|
|
image: louislam/uptime-kuma:1
|
|
ports:
|
|
- '3001:3001'
|
|
networks:
|
|
- default
|
|
## make sure you run this on a copy of your uptime kuma data not your live one.
|
|
volumes:
|
|
- ./data:/app/data
|
|
|
|
migrator:
|
|
build: .
|
|
image: git.nixc.us/nixius/uptimerobot-migrator:production
|
|
environment:
|
|
UPTIME_ROBOT_API_KEY: "u336056-fa06ca3fca5a316a099d00ea" # change this for sure and don't share it.
|
|
KUMA_URL: "http://kuma-migration:3001" # probably don't change this
|
|
KUMA_USERNAME: "Magnitude9456" # change this
|
|
KUMA_PASSWORD: "iZ22djSSsvSSgavE3s4RwuJwfshiVfZoBucXVyceC7E2DJzGwmgeUF64UkpQgN8LJ5Dt6awwDzH3WQq3XMgNWTmJ2WgV8m9FM2p8FphFX6qokhqjg4E6Fv5s9QMVPHpr" # don't share this and change it
|
|
depends_on:
|
|
- kuma-migration
|
|
networks:
|
|
- default
|
|
restart: "no"
|
|
command: ["copy-monitors"] # replace with the different task names as needed options are copy-monitors, disable-uptime-robot, delete-uptime-robot |