Skip to content

Commit

Permalink
license (#1)
Browse files Browse the repository at this point in the history
* license

* dockerfile label changes

* readme for every component.

Co-authored-by: Alex Borisov <79996669747@ya.ru>
Reviewed-on: https://git.envs.net/soaska/faceswaper/pulls/1
  • Loading branch information
soaska and soaska committed Dec 7, 2024
1 parent 338f843 commit 8ae2fc7
Show file tree
Hide file tree
Showing 9 changed files with 396 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ go run .
могут быть удалены в период неактивности программы. job-manager требует ffmpeg.

По вопросам пишите в [issues](https://github.com/soaska/faceswaper/issues) или на почту soaska@cornspace.su.

[License](license): MPL-2.0
2 changes: 0 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ services:
- DOCKER_BUILD=yas
env_file:
- .env
volumes:
- ./data/telegram-bot-api:/var/lib/telegram-bot-api
restart: unless-stopped
depends_on:
- pocketbase
Expand Down
4 changes: 3 additions & 1 deletion job-manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ COPY ./ ./
RUN go mod download
RUN CGO_ENABLED=0 go build -o ./main


FROM alpine:latest
LABEL org.opencontainers.image.source=https://github.com/soaska/faceswaper
LABEL org.opencontainers.image.description="job-manager container image"
LABEL org.opencontainers.image.licenses=MPL-2.0
WORKDIR /app
COPY --from=builder /build/main ./main
RUN apk --no-cache add ca-certificates tzdata ffmpeg
Expand Down
4 changes: 4 additions & 0 deletions job-manager/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# job-manager
Компонент обработки задач для [faceswaper](https://git.envs.net/soaska/faceswaper) бота.
Пока только обрабатывает и отправляет кружки, инкрементирует количество созданных пользователем
кружков в бд.
373 changes: 373 additions & 0 deletions license

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions pocketbase/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM alpine:latest
LABEL org.opencontainers.image.source=https://github.com/soaska/faceswaper
LABEL org.opencontainers.image.description="PocketBase container image with project-specific migrations"
LABEL org.opencontainers.image.licenses=MPL-2.0

ARG PB_VERSION=0.22.27

Expand Down
5 changes: 5 additions & 0 deletions pocketbase/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# pocketbase

Проект сборки базы данных для [faceswaper](https://git.envs.net/soaska/faceswaper) бота.
Сборки docker образа, применение миграций.
Actions в корневом репозитории.
4 changes: 3 additions & 1 deletion telegram-bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ COPY ./ ./
RUN go mod download
RUN CGO_ENABLED=0 go build -o ./main


FROM alpine:latest
LABEL org.opencontainers.image.source=https://github.com/soaska/faceswaper
LABEL org.opencontainers.image.description="telegram bot container image. part of the project"
LABEL org.opencontainers.image.licenses=MPL-2.0
WORKDIR /app
COPY --from=builder /build/main ./main
RUN apk --no-cache add ca-certificates tzdata
Expand Down
3 changes: 3 additions & 0 deletions telegram-bot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# telegram bot
Основная часть бота, клиенская часть для [faceswaper](https://git.envs.net/soaska/faceswaper).
Работает с чатом, создает задачи, отвечает на `/status`, `/help` и тп.

0 comments on commit 8ae2fc7

Please sign in to comment.