Compare commits

...

7 Commits
main ... dev

Author SHA1 Message Date
Stepan Vladovskiy
412036521d no force in dev for stagging
All checks were successful
deploy / deploy (push) Successful in 47s
2025-02-12 20:00:51 -03:00
Stepan Vladovskiy
5ad7ff8265 fix: no root added for install only dependencies
All checks were successful
deploy / deploy (push) Successful in 49s
2025-02-12 19:58:36 -03:00
Stepan Vladovskiy
0a2ca2d231 fix: changed config in pyproject
Some checks failed
deploy / deploy (push) Failing after 34s
2025-02-12 19:54:39 -03:00
Stepan Vladovskiy
e7b71aae7c fix: poetry with without dev option
Some checks failed
deploy / deploy (push) Failing after 33s
2025-02-12 19:41:09 -03:00
Stepan Vladovskiy
b003aa8083 force
Some checks failed
deploy / deploy (push) Failing after 29s
2025-02-12 19:36:58 -03:00
Stepan Vladovskiy
954acf00e5 feat: sv nginx conf sigil without map function, becasue it is moved to global nginx config
Some checks failed
deploy / deploy (push) Failing after 7s
2025-01-29 16:29:24 -03:00
f5425d3599 cl
Some checks failed
deploy / deploy (push) Failing after 5s
2024-04-19 14:36:37 +03:00
4 changed files with 4 additions and 6 deletions

View File

@ -32,4 +32,4 @@ jobs:
with:
branch: 'main'
git_remote_url: 'ssh://dokku@staging.discours.io:22/inbox'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

View File

@ -4,6 +4,7 @@
- added httpx
- aiohttp and requests removed
- core adapter loads data from redis now
- authors cachestorage removed
[0.3.1]
- glitchtip connect

View File

@ -5,7 +5,7 @@ COPY . /app
RUN apk update && apk add --no-cache git gcc curl
RUN curl -sSL https://install.python-poetry.org | python
ENV PATH="${PATH}:/root/.local/bin"
RUN poetry config virtualenvs.create false && poetry install --no-dev
RUN poetry config virtualenvs.create false && poetry install --without dev --no-root
EXPOSE 8000

View File

@ -9,10 +9,7 @@
{{ $cors_headers_get := "if ($request_method = 'GET') { add_header 'Access-Control-Allow-Origin' '$allow_origin' always; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always; add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization' always; add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always; add_header 'Access-Control-Allow-Credentials' 'true' always; }" }}
# Mapping for allowed origins
map $http_origin $allow_origin {
~^https?:\/\/((.*\.)?localhost(:\d+)?|discoursio-webapp(-(.*))?\.vercel\.app|(.*\.)?discours\.io)$ $http_origin;
default "";
}
# is moved in Global nginx config file /etc/nginx/nginx.conf
# Server block setup
{{ range $port_map := .PROXY_PORT_MAP | split " " }}