Send blog and trello updates in a Discord chat via webhooks.
-
Create
.envfile# Required # https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks BLOG_WEBHOOKS="webhook1;webhook2" TRELLO_WEBHOOKS="webhook1;webhook2" # Optional # General START_DELAY_SECONDS=10 SLEEP_SECONDS=300 # Blog BLOG_URL="https://www.kineticgames.co.uk/blog" BLOG_SITE_INDEX_URL="https://www.kineticgames.co.uk" # Trello TRELLO_BOARD_ID="9QrnqQ1j" TRELLO_API_BASE_URL="https://trello.com/1" TRELLO_SHARE_BASE_URL="https://trello.com/b"
-
Create
docker-compose.ymlfileservices: phasmo_update_bot: build: . # or image to private registry environment: DATABASE_URL: "mysql://root:root@mariadb/phasmo_update_bot" env_file: - .env depends_on: - mariadb restart: always mariadb: image: mariadb:latest environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: phasmo_update_bot volumes: - ./data/mariadb:/var/lib/mysql restart: always
-
Start with
docker compose up -d -
View logs with
docker compose logs --follow

