-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from participating-online/draft/xenodochial-bush
Big refactor and code cleanup from WIP/POC
- Loading branch information
Showing
26 changed files
with
502 additions
and
856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,9 @@ | |
"port": 8080 | ||
}, | ||
"restartOn": { | ||
"files": ["*"] | ||
"files": ["*"], | ||
"branch": true, | ||
"resume": true | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
FROM golang:1.21.4-bullseye | ||
|
||
COPY install-turso.sh /tmp/install-turso.sh | ||
|
||
RUN chmod +x /tmp/install-turso.sh && \ | ||
/tmp/install-turso.sh && \ | ||
rm /tmp/install-turso.sh && \ | ||
ln -s /root/.turso/turso /bin/turso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "Devcontainer", | ||
"build": { | ||
"dockerfile": "./Dockerfile" | ||
// Path is relative to the devcontainer.json file. | ||
"dockerfile": "Dockerfile" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export DB_URL="libsql://<dbname>.turso.io?authToken=<authtoken>" | ||
export LEMMY_USER="<username>" | ||
export LEMMY_PASSWORD="<password>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Binaries for programs and plugins | ||
/federation | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM golang:1.21.4-bullseye | ||
|
||
COPY federation /app/ | ||
|
||
EXPOSE 8080 | ||
|
||
ENTRYPOINT [ "/app/federation" ] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.