Skip to content

Commit

Permalink
Order by descending order on upload pages
Browse files Browse the repository at this point in the history
  • Loading branch information
optimumtact committed Aug 6, 2024
1 parent a3b8640 commit 6916fd5
Show file tree
Hide file tree
Showing 4 changed files with 380 additions and 108 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3-alpine as base
FROM python:3.10-alpine as base

FROM base as builder

# Builder image
RUN mkdir /install
RUN apk update && apk add postgresql-dev musl-dev gcc python3-dev sassc make curl
RUN apk update && apk add postgresql-dev musl-dev gcc python3-dev sassc make curl g++
RUN curl https://github.com/DarthSim/hivemind/releases/download/v1.1.0/hivemind-v1.1.0-linux-amd64.gz -fsL -o hivemind-v1.1.0-linux-amd64.gz && gunzip hivemind-v1.1.0-linux-amd64.gz && chmod u+x hivemind-v1.1.0-linux-amd64
WORKDIR /install
COPY requirements.txt /requirements.txt
Expand Down
47 changes: 25 additions & 22 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# fly.toml file generated for filehouse on 2023-02-07T18:36:03+13:00
# fly.toml app configuration file generated for filehouse on 2023-10-05T07:53:03+13:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "filehouse"
primary_region = "syd"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
kill_timeout = "5s"

[experimental]
auto_rollback = true

[env]
domain = "filehouse.fly.dev"
Expand All @@ -12,43 +18,40 @@ processes = []
maxupload = "50 MB"
owner = "oranges"
owner_email = "[email protected]"
perpage = "40"
protocol = "https"
registration = "False"
securecookie = "True"
smtpfrom = "[email protected]"
storage = "/storage/"
support ="contact me on discord"
perpage="40"
support = "contact me on discord"

[mounts]
source="filehouse_data"
destination="/storage"
[processes]
app = ""

[experimental]
auto_rollback = true
[mounts]
source = "filehouse_data"
destination = "/storage"

[[services]]
http_checks = []
protocol = "tcp"
internal_port = 8000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"

[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
handlers = ["http"]
force_https = true

[[services.ports]]
handlers = ["tls", "http"]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20

[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
grace_period = "1s"
Loading

0 comments on commit 6916fd5

Please sign in to comment.