Name variable, mods to compose file

This commit is contained in:
Brad Ganley 2024-12-27 02:31:43 +00:00
parent 87a6ef9cb7
commit 34c2a048cc
10 changed files with 8 additions and 3 deletions

0
.env.example Normal file → Executable file
View File

0
.github/workflows/buildandpublishtoghcr.yml vendored Normal file → Executable file
View File

0
.gitignore vendored Normal file → Executable file
View File

0
Dockerfile Normal file → Executable file
View File

0
LICENSE Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

7
docker-compose.yml Normal file → Executable file
View 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
makefile Normal file → Executable file
View File

0
package.json Normal file → Executable file
View File

4
src/index.ts Normal file → Executable file
View 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")