mirror of
https://github.com/g3rv4/GetMoarFediverse.git
synced 2024-11-25 00:53:29 +01:00
Rename!
This commit is contained in:
parent
4434af951e
commit
54828b9469
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -25,6 +25,6 @@ jobs:
|
||||
Write-Host "Version $version"
|
||||
Pop-Location
|
||||
|
||||
docker build . --tag ghcr.io/g3rv4/importdataasrelay:latest --tag "ghcr.io/g3rv4/importdataasrelay:$version"
|
||||
docker push ghcr.io/g3rv4/importdataasrelay:latest
|
||||
docker push "ghcr.io/g3rv4/importdataasrelay:$version"
|
||||
docker build . --tag ghcr.io/g3rv4/getmoarfediverse:latest --tag "ghcr.io/g3rv4/getmoarfediverse:$version"
|
||||
docker push ghcr.io/g3rv4/getmoarfediverse:latest
|
||||
docker push "ghcr.io/g3rv4/getmoarfediverse:$version"
|
||||
|
@ -3,11 +3,10 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0.403-alpine3.16 AS builder
|
||||
WORKDIR /src
|
||||
COPY src /src/
|
||||
RUN dotnet publish -c Release /src/ImportDataAsRelay.csproj -o /app
|
||||
RUN dotnet publish -c Release /src/GetMoarFediverse.csproj -o /app
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0.11-alpine3.16
|
||||
VOLUME ["/data"]
|
||||
ENV CONFIG_PATH=/data/config.json
|
||||
COPY --from=builder /app /app
|
||||
RUN ln -s /app/ImportDataAsRelay /bin/run
|
||||
CMD ["/bin/run"]
|
||||
CMD ["/app/GetMoarFediverse"]
|
||||
|
@ -1,4 +1,4 @@
|
||||
# ImportDataAsRelay
|
||||
# GetMoarFediverse
|
||||
|
||||
This is a small app that shows how you could use [FakeRelay](https://github.com/g3rv4/FakeRelay/) to import content into your instance that's tagged with hashtags you're interested in.
|
||||
|
||||
@ -12,7 +12,7 @@ The easiest way is with docker compose. This `docker-compose.yml` shows how it c
|
||||
version: '2'
|
||||
services:
|
||||
importdata:
|
||||
image: 'ghcr.io/g3rv4/importdataasrelay:latest'
|
||||
image: 'ghcr.io/g3rv4/getmoarfediverse:latest'
|
||||
volumes:
|
||||
- '/path/to/data:/data'
|
||||
```
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System.Collections.Immutable;
|
||||
using Jil;
|
||||
|
||||
namespace ImportDataAsRelay;
|
||||
namespace GetMoarFediverse;
|
||||
|
||||
public class Config
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
using System.Collections.Concurrent;
|
||||
using ImportDataAsRelay;
|
||||
using GetMoarFediverse;
|
||||
using Jil;
|
||||
|
||||
Config.Init(Environment.GetEnvironmentVariable("CONFIG_PATH"));
|
||||
|
Loading…
Reference in New Issue
Block a user