fix(gts): update GTS deployment templates

Update the GoToSocial deployment templates in preparation for the 0.15.0
upgrade.
This commit is contained in:
Dan Anglin 2024-04-28 04:40:56 +01:00
parent c8b393823e
commit 15c5729316
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 26 additions and 23 deletions

View file

@ -1,24 +1,21 @@
/* /*
* NIGHT OWL CSS THEME FOR GOTOSOCIAL theme-title: Night Owl
* theme-description: The Night Owl CSS theme for Free Flow.
* -- Background Image -- */
*
* The background image is called 'Photo of Starry Night' /*
* which you can download from Pexels here: -- Background Image --
* https://www.pexels.com/photo/photo-of-starry-night-1421903/
* The background image is called 'Photo of Starry Night'
* To use the background image download it from Pexels and which you can download from Pexels here:
* place it in the web assets directory as background.jpg. https://www.pexels.com/photo/photo-of-starry-night-1421903/
* */
* -- Font --
* /*
* Karla can be found in found in Google Fonts here: -- Font --
* https://fonts.google.com/specimen/Karla
* Karla can be found in found in Google Fonts here:
* To use the font download a copy from Google Fonts, https://fonts.google.com/specimen/Karla
* extract the TTF file and place it in the web assets/fonts
* directory.
*
*/ */
:root { :root {
@ -33,6 +30,7 @@
--night-owl-button-dark: #000910; --night-owl-button-dark: #000910;
--avatar-border: var(--night-owl-dark-purple); --avatar-border: var(--night-owl-dark-purple);
--status-header-background: linear-gradient(#545454, 5%, #0E0E0E);
} }
@font-face { @font-face {
@ -59,11 +57,11 @@ html, body {
} }
.profile .col-header { .profile .col-header {
background: linear-gradient(#545454, 5%, #0E0E0E); background: var(--status-header-background);
} }
.thread .col-header { .thread .col-header {
background: linear-gradient(#545454, 5%, #0E0E0E); background: var(--status-header-background);
border: none; border: none;
} }

View file

@ -16,6 +16,7 @@ RUN --mount=type=bind,source=.,target=/packages \
&& cp /packages/config.yaml /flow/gts/config/config.yaml \ && cp /packages/config.yaml /flow/gts/config/config.yaml \
&& cp /packages/assets/images/background.jpg {{ .GoToSocial.WebBaseDirectory }}/assets/background.jpg \ && cp /packages/assets/images/background.jpg {{ .GoToSocial.WebBaseDirectory }}/assets/background.jpg \
&& cp /packages/assets/fonts/* {{ .GoToSocial.WebBaseDirectory }}/assets/fonts/ \ && cp /packages/assets/fonts/* {{ .GoToSocial.WebBaseDirectory }}/assets/fonts/ \
&& cp /packages/assets/themes/* {{ .GoToSocial.WebBaseDirectory }}/assets/themes/ \
&& chown -R {{ .GoToSocial.LinuxUID }}:{{ .FlowGID }} /flow/gts \ && chown -R {{ .GoToSocial.LinuxUID }}:{{ .FlowGID }} /flow/gts \
&& chmod a+x /usr/local/bin/entrypoint \ && chmod a+x /usr/local/bin/entrypoint \
&& rm -rf /tmp/* && rm -rf /tmp/*

View file

@ -979,6 +979,10 @@ advanced-rate-limit-requests: 300
# applied on their requests, and rate limit headers will not be # applied on their requests, and rate limit headers will not be
# set for those requests. # set for those requests.
# #
# For IPv6, we only take subnets up to a /64 into account. If you
# want to open up a larger prefix, you'll need to list multiple
# prefixes instead.
#
# This can be useful in the following example cases (and probably # This can be useful in the following example cases (and probably
# a bunch of others as well): # a bunch of others as well):
# #
@ -998,7 +1002,7 @@ advanced-rate-limit-requests: 300
# wide a range. If in doubt, be too restrictive rather than too # wide a range. If in doubt, be too restrictive rather than too
# lenient, and adjust as you go. # lenient, and adjust as you go.
# #
# Example: ["192.168.0.0/16"] # Example: ["192.168.0.0/16", "2001:DB8:FACE:CAFE::/64"]
# Default: [] # Default: []
advanced-rate-limit-exceptions: [] advanced-rate-limit-exceptions: []