docker compose & co.
1# xpost
2
3atm the image must be built locally. this can be done like this:
4
5```
6git clone https://tangled.sh/@melontini.me/xpost xpost
7cd xpost
8docker build -t melontini/xpost:latest -f Containerfile .
9```
10
11for podman:
12
13`podman build --security-opt label=disable -t melontini/xpost:latest -f Containerfile .`
14
15example `compose.yaml` assumes that data dir is `./data`, and env file is `./.config/docker.env`. add `:Z` to volume mounts for podman.
16
17the settings are pre-configured for mastodon-wss -> bsky crossposting, posts with links to bsky.app, deer.social and anartia are skipped. add `MASTODON_INSTANCE`, `MASTODON_TOKEN`, `BLUESKY_HANDLE` and `BLUESKY_APP_PASSWORD` to `docker.env`