From 94f3caf2fcb449f953503fc6d92f3f06cac01774 Mon Sep 17 00:00:00 2001 From: Alex Hyett Date: Sun, 3 Nov 2024 13:29:30 +0000 Subject: [PATCH] Fix docker-compose --- .env.sample | 2 +- docker-compose.yml | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.env.sample b/.env.sample index 62461eb..460c5d8 100644 --- a/.env.sample +++ b/.env.sample @@ -3,4 +3,4 @@ MASTODON_USER="username" BLUESKY_ENDPOINT="https://bsky.social" BLUESKY_HANDLE="USERNAME.bsky.social" BLUESKY_PASSWORD="PASSWORD" -INTERVAL_MINUTES: 5 +INTERVAL_MINUTES=5 diff --git a/docker-compose.yml b/docker-compose.yml index fd55d19..734ef82 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,20 +1,12 @@ version: '3' services: app: - image: host/mastodon-to-bluesky:latest + build: . container_name: mastodon-to-bluesky env_file: '.env' - # environment: - # MASTODON_INSTANCE: 'https://mastodon.instance' - # MASTODON_USER: 'username' - # BLUESKY_ENDPOINT: 'https://bsky.social' - # BLUESKY_HANDLE: 'USERNAME.bsky.social' - # BLUESKY_PASSWORD: 'PASSWORD' - # INTERVAL_MINUTES: 5 volumes: - mastodon-to-bluesky:/usr/src/app/data restart: unless-stopped volumes: mastodon-to-bluesky: - external: true