mirror of
https://github.com/bradganley/bsky-user-activity-bot.git
synced 2025-04-14 13:00:24 +00:00
Name variable, mods to compose file
This commit is contained in:
parent
87a6ef9cb7
commit
34c2a048cc
0
.env.example
Normal file → Executable file
0
.env.example
Normal file → Executable file
0
.github/workflows/buildandpublishtoghcr.yml
vendored
Normal file → Executable file
0
.github/workflows/buildandpublishtoghcr.yml
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
Dockerfile
Normal file → Executable file
0
Dockerfile
Normal file → Executable file
7
docker-compose.yml
Normal file → Executable file
7
docker-compose.yml
Normal file → Executable file
@ -9,12 +9,14 @@ services:
|
||||
- ./sessionData:/sessionData
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NAME=bork
|
||||
networks:
|
||||
- bun
|
||||
|
||||
|
||||
jetstream:
|
||||
image: "ghcr.io/juni-b-queer/jetstream-new:personal-branch"
|
||||
image: "ghcr.io/bluesky-social/jetstream:sha-ea96859b93d1790ff20bb168e5fc442d462cea1e"
|
||||
container_name: jetstream
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
@ -29,3 +31,6 @@ services:
|
||||
networks:
|
||||
bun:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 10.10.0.0/16
|
||||
|
0
package.json
Normal file → Executable file
0
package.json
Normal file → Executable file
4
src/index.ts
Normal file → Executable file
4
src/index.ts
Normal file → Executable file
@ -59,7 +59,7 @@ let handlers = {
|
||||
// @ts-ignore
|
||||
[ActionTakenByUserValidator.make(<string>Bun.env.USER_DID)],
|
||||
[
|
||||
CreateSkeetAction.make("Aaron liked:", undefined, (handler: HandlerAgent, commit: JetstreamEventCommit): JetstreamSubject => {
|
||||
CreateSkeetAction.make(<string>Bun.env.NAME +" liked:", undefined, (handler: HandlerAgent, commit: JetstreamEventCommit): JetstreamSubject => {
|
||||
return commit.commit.record.subject as JetstreamSubject;
|
||||
}),
|
||||
LogInputTextAction.make("Like")
|
||||
@ -74,7 +74,7 @@ let handlers = {
|
||||
// @ts-ignore
|
||||
[ActionTakenByUserValidator.make(<string>Bun.env.USER_DID)],
|
||||
[
|
||||
CreateSkeetAction.make("Aaron reposted:", undefined, (handler: HandlerAgent, commit: JetstreamEventCommit): JetstreamSubject => {
|
||||
CreateSkeetAction.make(<string>Bun.env.NAME + " reposted:", undefined, (handler: HandlerAgent, commit: JetstreamEventCommit): JetstreamSubject => {
|
||||
return commit.commit.record.subject as JetstreamSubject;
|
||||
}),
|
||||
LogInputTextAction.make("Repost")
|
||||
|
Loading…
x
Reference in New Issue
Block a user