Commit Graph

85 Commits

Author SHA1 Message Date
Karol Wypchlo 49b804dab1
use deploy-2022-05-17 images 2022-05-17 15:08:45 +02:00
Karol Wypchło 32e5130504
website: dynamic emails and site metadata (#2056)
* emails should use current domain dynamically

* build and serve in a service

* use portal domain for site url meta

* clean up unused import

* update build job

* fix url and add safeguard

* mount cache and public gatsby dirs to improve build times

* use new env vars for abuse and contact emails

* use PORTAL_DOMAIN instead of window hostname
2022-05-09 10:24:21 +02:00
PJ 4ce00c7673
Add stop grace period 2022-04-28 11:19:29 +02:00
Karol Wypchlo 306442eef3
use volumes to mount nginx configuration 2022-04-21 15:34:52 +02:00
Karol Wypchlo 98306b473c
use official nginx entrypoint with envsubst and custom restart script 2022-04-21 15:21:58 +02:00
Karol Wypchlo 73dad081ea
use health-check docker image 2022-04-07 14:41:18 +02:00
Karol Wypchlo 1d50d51f29
use dnslink-api docker image 2022-04-07 14:39:53 +02:00
Karol Wypchlo 40b8390c19
use handshake-api docker image 2022-04-07 14:38:19 +02:00
Karol Wypchlo d577f332b6
use website docker image 2022-04-07 14:12:24 +02:00
Karol Wypchlo 12fd1d5b7d
replace caddy with certbot 2022-03-21 10:32:23 +01:00
Karol Wypchlo 4f6b5fb0a8
clean up nginx skylink cache related code 2022-03-15 09:40:25 +01:00
Karol Wypchlo f08249e0e5
use handshake docker image 2022-02-24 15:44:41 +01:00
Karol Wypchlo e6b014c88c
switch from nginx to skyd cache 2022-02-22 10:53:09 +01:00
Karol Wypchlo b827616fab
disable nginx cache when skyd cache is enabled 2022-02-10 14:55:04 +01:00
Karol Wypchło 27c033a831
Merge pull request #1498 from SkynetLabs/account-only-portals
introduce portal mode for authenticated users only
2022-01-12 14:09:51 +01:00
Karol Wypchlo 0c6445f507
allow overriding skyd disk cache vars 2022-01-12 13:51:41 +01:00
Karol Wypchlo 15aea1da40
Merge remote-tracking branch 'origin/master' into account-only-portals 2022-01-12 13:44:36 +01:00
Christopher Schinnerl 273339d611
Update docker-compose.yml
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2022-01-12 10:49:42 +00:00
Christopher Schinnerl ddafca421a
Update docker-compose.yml
Co-authored-by: Peter-Jan Brone <peter-jan@settlemint.com>
2022-01-12 10:37:00 +00:00
Christopher Schinnerl c3d78fc2db
Update docker-compose.yml
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2022-01-12 10:36:50 +00:00
Chris Schinnerl e33dfc139a
Add skyd caching env vars to docker-compose.yml 2022-01-12 11:27:29 +01:00
Karol Wypchlo c04fd5067d
introduce portals for authenticated users only 2022-01-11 17:07:57 +01:00
Karol Wypchlo dba33f8335
move sia mongo variables to mongo docker compose file 2022-01-05 16:15:31 +01:00
Ivaylo Novakov 018844d124
Add a new volume that allows blocker to write to nginx's local disk. 2021-12-10 15:31:55 +01:00
Matthew Sevey 2f0f7d64e0
Update handshake to use v3.0.1 2021-11-09 18:19:49 -05:00
Matthew Sevey a673a7cb9a
Enabling account module 2021-10-22 12:06:01 -04:00
Chris Schinnerl bad9543032
Enable mongodb in docker-compose.yml for skyd 2021-10-07 17:35:06 +02:00
Karol Wypchlo ecb73e7498
drop caddy as proxy 2021-08-27 14:15:22 +02:00
Ivaylo Novakov bbfae662a2
Add a migration command for HSD and fix it to a given commit. 2021-08-05 13:55:57 +03:00
Karol Wypchlo 1385354074 dnslink beta support 2021-07-07 15:49:45 +02:00
Karol Wypchło 8560b1da80
use portal-latest branch as a default for skyd (#788) 2021-05-27 10:39:34 +02:00
Karol Wypchło 0c0be50e89
accounts health checks and testing improvements (#717)
* add account health check

* circular dep resolution

* error cannot be undefined
2021-05-05 14:18:10 +02:00
Karol Wypchlo d2ab900800 restore docker-compose 2021-04-29 17:03:18 +02:00
Karol Wypchlo 7fab576e6a atomic writes 2021-04-29 16:56:53 +02:00
Karol Wypchlo 73f3ddf3ca default to v1.5.5 branch 2021-04-08 11:07:24 +02:00
Karol Wypchlo 71a9721464 Revert "Go back to the latest stable version of Sia as default for the docker-compose file."
This reverts commit 42e3df128a.
2021-04-08 11:06:38 +02:00
Ivaylo Novakov 42e3df128a
Go back to the latest stable version of Sia as default for the docker-compose file.
We will override that with `portal-latest` on all portals.
2021-04-07 14:57:14 +02:00
Ivaylo Novakov d268a99e60
When rebuilding `sia` use the `portal-latest` branch and the `latest` container by default. 2021-04-07 11:55:43 +02:00
Karol Wypchlo d63b8c0059 do not use volume for that 2021-04-02 17:19:38 +02:00
Karol Wypchlo e855458d86 Merge remote-tracking branch 'origin/master' into website 2021-04-01 15:22:55 +02:00
Karol Wypchło fede204c6b
Accounts (#554)
* stripe env

* stripe env

* stripe env

* allow post

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* accounts/**

* favicon

* foo

* foo

* foo

* foo

* foo

* foo

* title

* fix dashboard timestamp

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* prices

* Revert "prices"

This reverts commit 7071ed4ef4.

* Make sure we don't accidentally commit `kratos.yml`.

* Add Oathkeeper access rules for Stripe.

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* Add `max_breaches` to Kratos's sample config file.

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* payments

* cache .next folder

* Use own fork of Kratos's `master` in order to get the fix for the migrations issue.

* Don't retry running Kratos migrations.

* payments

* restart: no

* no

* no

* no

* no

* no

* no

* no

* no

* no

* payments

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* accounts

* limits

* limits

* nginx depends on accounts and kratos-migrate depends on cockroach.

* upload limit rate

* upload limit rate - 2

* upload limit rate - 3

* upload limit rate - 4

* upload limit rate - 5

* upload limit rate - 6

* upload limit rate - 7

* upload limit rate - 8

* upload limit rate - 9

* forgotten password link

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* use header for skylink

* copy to clipboard

* fix ratelimit issue

* Allow access to the stripe webhook.

* enable allow_promotion_codes

* Allow POST on webhook.

* Add all env vars accounts need to docker-compose.

* Don't use custom port for accounts.

* print recovery

* recovery sign up link

* refactor cors header response

* refactor cors header response

* do not log unauthorized

* fix registration link

* settings logging

* update node and tailwindcss

* move webapp from volume

* host 0.0.0.0

* refactor dockerfile

* enable accounts

* cache public

* uncache public

* remove cache control

* no-cache

* no cache

* Do not use the person's name for registration.

* add verify route

* add verify route

* add verify route

* Go back to using the stock kratos image.

* add verify route

* fix settings link

* clean up verify flow

* refactor Dockerfile

* Remove first and last name from used traits.

* Remove account verification via email.

* Allow additional properties.

* Cookies and tokens last for 30 days now.

* Rename secure.siasky.net to account.siasky.net.

* redirect secure to account

Co-authored-by: Ivaylo Novakov <inovakov@gmail.com>
Co-authored-by: Ivaylo Novakov <ro-tex@users.noreply.github.com>
2021-04-01 15:15:37 +02:00
Karol Wypchlo d3357e6cbc replace webapp with website 2021-04-01 14:04:20 +02:00
Karol Wypchlo 2cbbeab97b initial homepage commit 2021-03-24 12:21:10 +01:00
Karol Wypchlo 7ec5e5106f update to 1.5.5 2021-03-22 12:31:17 +01:00
Karol Wypchlo 8a44499ceb replace cronjs with crontab 2021-01-26 12:18:40 +01:00
Karol Wypchło 83a2170afc
upgrade sia to 1.5.4 (#582)
* upgrade sia to 1.5.4

* bump builder image
2021-01-13 12:42:49 +01:00
Karol Wypchlo 1a9e4f1a4d upgrade openresty image to ubuntu 18 2021-01-08 13:47:30 +01:00
Karol Wypchło 83d2aa396e
allow to include previous skynet stats (#562)
* allow to include previous skynet stats

* explain chunked response
2020-12-10 14:43:59 +01:00
Karol Wypchlo 89d7a2db67 upgrade sia to 1.5.3 2020-11-12 11:08:06 +01:00
Ivaylo Novakov 1563296ef1
Merge pull request #502 from NebulousLabs/ivo/mongo
Add a MongoDB service.
2020-11-05 16:08:38 +01:00