Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from hibare/dev
Browse files Browse the repository at this point in the history
 Remove last update from content + Add test reader
  • Loading branch information
hibare committed Dec 20, 2021
2 parents d8e884d + 3df00c6 commit f18eb98
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func dockerTags(w http.ResponseWriter, r *http.Request) {
Title: user + "/" + repository + ":" + tag.Name,
Link: &feeds.Link{Href: "https://hub.docker.com/r/" + user + "/" + repository + "/tags?name=" + tag.Name},
Description: repo.Description,
Content: fmt.Sprint("Docker image ID: ", tag.Id, ", Status: ", tag.Status, ", Last Updated: ", tag.LastUpdated.String()),
Content: fmt.Sprint("Docker image ID: ", tag.Id, ", Status: ", tag.Status),
Author: &feeds.Author{Name: user},
Created: tag.LastUpdated,
Id: fmt.Sprint("tag:hub.docker.com,", tag.LastUpdated.Format("2006-01-02"), ":/r/hibare/moni/tags?name=", tag.Name),
Expand Down
33 changes: 33 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
version: "3"
services:

freshrss-db:
image: postgres:12-alpine
container_name: freshrss-db
hostname: freshrss-db
restart: unless-stopped
volumes:
- db:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${POSTGRES_USER:-freshrss}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-freshrss}
POSTGRES_DB: ${POSTGRES_DB:-freshrss}

freshrss-app:
image: freshrss/freshrss:latest
container_name: freshrss-app
hostname: freshrss-app
restart: unless-stopped
ports:
- "127.0.0.1:${EXPOSED_PORT:-8080}:80"
depends_on:
- freshrss-db
volumes:
- data:/var/www/FreshRSS/data
- extensions:/var/www/FreshRSS/extensions
environment:
CRON_MIN: '*/20'

go-rss-hub:
build:
context: .
Expand All @@ -15,3 +43,8 @@ services:
options:
max-size: "500k"
max-file: "5"

volumes:
db: null
data: null
extensions: null

0 comments on commit f18eb98

Please sign in to comment.