Commit Graph

155 Commits

Author SHA1 Message Date
renovate[bot] c1f6ae9e04
chore(deps): update dependency skynetlabs/webportal-nginx to v0.3.1 2022-06-21 15:01:58 +00:00
renovate[bot] 7719089dbd
chore(deps): update dependency certbot/dns-route53 to v1.28.0 2022-06-21 11:35:33 +00:00
Karol Wypchło 09c0fcfc35
update webportal-nginx to version 0.3.0 2022-06-21 11:22:26 +02:00
Michał Leszczyk 8a2cbcc5e8
ops: bump webportal-nginx to 0.2.0 2022-06-02 15:37:11 +02:00
Karol Wypchło 819aa17499
Merge branch 'master' into matt/sky-567-pr-to-update-docker-compose-on-webportal 2022-05-27 15:29:31 +02:00
Karol Wypchło 831565f4a2
Merge branch 'master' into matt/sky-571-update-webportal-docker-compose 2022-05-27 15:25:43 +02:00
Karol Wypchło 227df6cc28
Update docker-compose.yml
Co-authored-by: Michał Leszczyk <michasko37@gmail.com>
2022-05-27 15:24:05 +02:00
Karol Wypchło 82659c481a
Merge pull request #2112 from SkynetLabs/matt/sky-593-nginx-update-webportal-docker-compose
Remove NGINX code
2022-05-27 15:20:47 +02:00
Matthew Sevey 91b55e67ff
Merge pull request #2111 from SkynetLabs/matt/sky-577-handshake-update-webportal
Remove handshake API code
2022-05-27 09:19:35 -04:00
Matthew Sevey 2ef8c7c288
Update health check image 2022-05-27 12:35:25 +02:00
Matthew Sevey ba72d340ab
Remove Health-Check package 2022-05-27 12:35:23 +02:00
Karol Wypchlo eafd2da5bd
remove local nginx references 2022-05-27 10:46:15 +02:00
Matthew Sevey b1f0019220
Update docker image 2022-05-26 14:32:33 -04:00
Matthew Sevey 40381e0afb
Update image 2022-05-26 14:24:00 -04:00
Matthew Sevey 1533b1527e
Update image 2022-05-26 13:43:00 -04:00
Matthew Sevey f25c2ab7bf
Set to stock website image 2022-05-26 13:22:40 -04:00
Matthew Sevey cc66e397a3
update docke compose for new website docker image 2022-05-26 13:17:48 -04:00
Matthew Sevey 526445f499
update docker compose 2022-05-25 15:25:23 -04:00
Matthew Sevey db39492bdb
Remove handshake API code 2022-05-25 15:14:26 -04:00
Matthew Sevey 68f36209f8
Fix branch name 2022-05-25 15:06:11 -04:00
Matthew Sevey c4a8020f0b
update docker compose 2022-05-25 10:55:46 -04: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
Karol Wypchlo 65c80b419d update to v1.5.1 2020-11-03 15:43:55 +01:00
Ivaylo Novakov a3c7d25e4b Add a MongoDB service. 2020-10-30 19:00:58 +01:00
Ivaylo Novakov 2d8820666b Switch from local network 192.168.0.x to 10.10.10.x. 2020-10-13 13:47:31 +02:00
Karol Wypchlo 60bab0fc10 limit docker stdout/stderr log files to 10m and rotate 3 2020-09-30 13:18:39 +02:00
Karol Wypchło 22b9c368db
drop legacy upload node support (#417) 2020-09-22 11:49:57 +02:00
Karol Wypchlo 3a98b8e47d use builder for sia-upload too 2020-09-15 12:39:40 +02:00
Karol Wypchlo bc62bb5274 update to 1.5.0.3 docker-sia 2020-09-15 12:38:03 +02:00
Karol Wypchło e301b035ad
assign static ips to containers (#383) 2020-09-08 16:30:54 +02:00
Karol Wypchlo c248efb73b circular dependencies 2020-08-26 16:02:49 +02:00
Karol Wypchlo ec6b73c130 nginx depends on health-check to be up first 2020-08-26 15:59:47 +02:00
Karol Wypchlo 66163b69cd update to 1.5.0.2 to fix mime type issues 2020-08-26 13:31:45 +02:00
Karol Wypchlo 5f574fbb0c use 1.5.0.1 docker image 2020-08-26 11:39:37 +02:00
Karol Wypchlo 09b3c8cf60 require .env-upload for upload node 2020-08-21 11:16:31 +02:00
Karol Wypchlo cbf7705598 FROM dynamic args are not supported 2020-08-18 11:54:51 +02:00
Karol Wypchlo 9681aa04f9 fix image version issue for builder 2020-08-18 11:31:45 +02:00
Karol Wypchlo 0a5f51d988 fix merge conflicts resolution errors 2020-08-18 11:11:10 +02:00
Karol Wypchlo 8a21dc8ce1 Merge remote-tracking branch 'origin/master' into docker 2020-08-18 10:55:09 +02:00
Ivaylo Novakov 9dd73cd2aa
Resolve a circular dependency between docker-compose services. 2020-08-05 17:02:42 +03:00
Ivaylo Novakov f896afada1
Make health-check depenent on handshake, handshake-api, and caddy, so it doesn't start before them and report healthy status. 2020-08-05 11:27:25 +03:00
Karol Wypchlo 966b2e82a0 fix up docker-compose 2020-08-01 17:04:23 +02:00
Karol Wypchlo 615623f962 correct path 2020-07-31 00:50:42 +02:00
Karol Wypchlo 87e6e8c7a9 add Cache-Control to skynet links 2020-07-31 00:50:42 +02:00
Karol Wypchlo e30fa02142 set user root for nginx 2020-07-31 00:50:42 +02:00
Karol Wypchlo 30dbb8ced5 migrate to yarn workspaces 2020-07-31 00:50:42 +02:00
Karol Wypchlo 0ae464dc60 move the docker context 2020-07-31 00:50:42 +02:00
Karol Wypchlo bcb73eceb2 improve sia docker builder image 2020-07-31 00:50:42 +02:00
Karol Wypchlo 17d4a1ad53 sia-upload-legacy container 2020-07-31 00:50:42 +02:00
Karol Wypchlo 259e3ddffa docker setup
docker progress

docker works

env variables
2020-07-31 00:50:42 +02:00
Karol Wypchlo 02b77cfbab clean up after docker changes 2020-07-30 12:00:58 +02:00
Karol Wypchlo 919edb439c auth uploads 2020-07-28 11:19:03 +02:00