Skip to content

Commit 0024483

Browse files
committed
docs: add docker instructions to readme
1 parent 71349b4 commit 0024483

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ I do not recommend hosting a public instance of this software yet, as work is st
88

99
I will not be guarenting anything. I'll try to target both bluesky & mastodon, but no guarentee yet. Right now looking like bluesky will be the primary target due to some technical challenges with mastodon
1010

11+
## Hosting instructions
12+
13+
Docker
14+
```yaml
15+
services:
16+
twitter-bridge:
17+
image: ghcr.io/preloading/twitterapibridge:dev # main = releases/stable, dev=latest commits/test version
18+
environment:
19+
- TWITTER_BRIDGE_DATABASE_TYPE=sqlite
20+
- TWITTER_BRIDGE_DATABASE_PATH=/config/database/sqlite.db
21+
- TWITTER_BRIDGE_CDN_URL=http://127.0.0.1
22+
- TWITTER_BRIDGE_SERVER_PORT=3000
23+
- TWITTER_BRIDGE_TRACK_ANALYTICS=true
24+
- TWITTER_BRIDGE_DEVELOPER_MODE=false
25+
ports:
26+
- "80:3000"
27+
volumes:
28+
- '/opt/testtwitterbridge/sqlite:/config/sqlite'
29+
```
30+
1131
### This is not (and probably won't be for a while) a 100% accurate recreation of the twitter API
1232
1333
most of this readme todo

0 commit comments

Comments
 (0)