27 lines
887 B
YAML
27 lines
887 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: "xxxxxxxxxxxxxxxxxxxxxxxxxxx" # change this for sure and don't share it.
|
|
KUMA_URL: "http://kuma-migration:3001" # probably don't change this
|
|
KUMA_USERNAME: "admin" # change this
|
|
KUMA_PASSWORD: "password2" # 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 |