Commit graph

109 commits

Author SHA1 Message Date
924ad20d87 updated customPostgresql.conf to match pi hardware 2023-06-27 07:04:08 +00:00
e0369a5afc finnished lemmy.yml rewrite 2023-06-27 06:51:00 +00:00
4d9cd973ce removed docker repo stuff from lemmy.yml
cuz in this house we use podman!! B)
2023-06-25 06:19:18 +00:00
65aec4796d removed aptitiude task from lemmy.yml 2023-06-25 05:48:27 +00:00
cbc2ee89cb edited install deps to remove unneeded/change names to dnf ones 2023-06-25 05:45:57 +00:00
Dessalines
01b7fdcc75
Allow lemmy-ui and pictrs to access external network. Fixes #96 (#97) 2023-06-23 12:56:01 -04:00
Dessalines
cd5c25c6ac Merge branch 'main' of https://github.com/LemmyNet/lemmy-ansible 2023-06-23 08:36:22 -04:00
Dessalines
42ad9507e5 Updating VERSION 2023-06-23 08:36:10 -04:00
Zetaphor
352c6c73ea
Add Ubuntu dependency to README (#92)
* Add Ubuntu dependency

Resolve #81

* Update README.md

Change Ubuntu to Debian
2023-06-22 18:39:52 -04:00
Rulasmur
b56616fcc9
set host, X-Real-IP, and X-Forwarded-For headers (#93) 2023-06-22 18:39:31 -04:00
Dessalines
18c3f3a09f
Add a 2nd nginx layer (#90)
* Trying to add second nginx layer. Try 1

* Trying to add second nginx layer. Try 2

* Finalizing.

* Formatting fix.

* Addressing PR comments.
2023-06-22 16:39:39 +02:00
Dessalines
fa12b2e070 Updating VERSION 2023-06-12 16:45:04 -04:00
Dessalines
d73e72aad0
Add prettier to ci (#80)
* Add prettier to CI.

* Running prettier.
2023-06-07 22:45:24 +02:00
Keith Novak
dc9e752865
Cleanup README.md (#79)
Formatting changes for readability. Added a note on how to do passwordless ssh, because it's been a while and I forgot how to do it :) I'm hoping it helps someone else.
2023-06-07 15:56:19 -04:00
pixlguru
fc468f959a
Increase pictrs mem_limit (#73)
Fixes pictrs crashing / OOM

Co-authored-by: wintermute <pgcn5lz86@relay.firefox.com>
2023-06-06 12:29:48 -04:00
Richard Schwab
0a02a429d6
remove unused map from nginx config, fixes #70 (#74) 2023-06-06 01:28:49 +02:00
RedKrieg
c24e8a7137
Install latest docker/docker-compose via pip. Proposed as fix for #67 (#69)
* Install latest docker/docker-compose via pip. Proposed as fix for #67

* Combine docker and docker-compose pip installs in to one task
2023-06-03 07:12:04 -04:00
Dessalines
35c6790fc8 Updating VERSION 2023-06-01 11:42:02 -04:00
Dessalines
db3e245a72
Correcting customPostgresql.conf location. Fixes #64 (#65) 2023-04-12 19:41:01 -04:00
Dessalines
cb1c24fd6f
Adding woodpecker (#63) 2023-03-24 21:45:26 +01:00
Dessalines
6e6940b0e1 Updating VERSION 2023-02-22 09:55:13 -05:00
Dessalines
daee9fba1c Updating VERSION 2023-02-03 09:29:44 -05:00
Dessalines
cd8bcea976
V0.17.0 changes 2 (#60)
* Upgrade for v0.17.0 changes. Better docker install.

* Fix LEMMY_UI env vars.

* Remove postgres optimizations.

* Adding a custom postgresql.conf file

* Updating VERSION
2023-01-31 12:22:20 -05:00
Dessalines
d9ce528278 Revert "V0.17.0 changes (#59)"
This reverts commit 02f30dfbdc.
2023-01-30 10:47:24 -05:00
Dessalines
02f30dfbdc
V0.17.0 changes (#59)
* Upgrade for v0.17.0 changes. Better docker install.

* Fix LEMMY_UI env vars.

* Remove postgres optimizations.
2023-01-30 10:46:45 -05:00
Dessalines
86a797d0b9 Merge branch 'main' of https://github.com/LemmyNet/lemmy-ansible 2022-09-14 11:10:15 -04:00
Nutomic
439dbd7cc4
Update version to 0.16.7 2022-09-14 10:06:26 +00:00
Dessalines
5995aee32b Merge branch 'main' of https://github.com/LemmyNet/lemmy-ansible 2022-09-13 17:20:58 -04:00
Dessalines
17adeb6048 Updating VERSION 2022-09-13 17:20:07 -04:00
Nutomic
d9dac7dac5
Use /etc to configure docker logging (#52) 2022-08-29 15:38:14 -04:00
Dessalines
51c92e143d Updating VERSION 2022-07-19 14:46:09 -04:00
pixlguru
a1ae25bff4
Add logging limitation (#49)
* Add logging limitation

Prevents growing of docker/overlay2 due to logfiles piling up

* Update logging options 

to more reasonable smaller values
2022-07-14 15:27:39 -04:00
Dessalines
a9bff22183
Adding link to ansible docs. Fixes #46 (#48) 2022-06-03 11:32:02 +00:00
Dessalines
a58766b305 Revert version due to broken prod build. 2022-05-30 18:55:24 -04:00
Dessalines
5bdda3496c Updating VERSION 2022-05-30 18:30:54 -04:00
Dessalines
f921a3d64b Updating VERSION 2022-05-26 18:42:05 -04:00
Dessalines
d4c1cd0a28
Adding AGPL license. Fixes #37 (#39)
* Adding AGPL license. Fixes #37

* Add license to readme.
2022-05-09 22:45:52 +00:00
Dessalines
4a2ee302bd
Add note about curly braces. #38 (#40) 2022-05-09 22:40:21 +00:00
Tryps
5cb678847f
Update lemmy.yml (#36)
* Update lemmy.yml

https://github.com/LemmyNet/lemmy-ansible/issues/35

* Update lemmy.yml

Tested it with reg_enabled.stat.exists and reg_enabled.stat.isreg and can confirm it completed a fresh install just fine!
2022-04-12 21:25:40 +00:00
Dessalines
745829c2a2 Updating VERSION 2022-04-08 10:19:24 -04:00
Dessalines
91efb71262
Upgrading pictrs. (#34) 2022-04-05 10:26:20 +00:00
Dessalines
8402fe0366 Updating VERSION 2022-03-29 12:55:05 -04:00
Dessalines
aba99de2dc
Federation on by default. (#33) 2022-03-29 15:23:11 +00:00
fadelkon
df2db64e9a
Render nginx templates into sites-available (#30)
Render nginx templates into sites-available and then symlink them.
Instead of rendering them directly to sites-enabled.

It's a good practice and makes it easier for disabling or substituting temporarily a site config.

Currently, the sites-enabled file is a regular file. If we just try to replace it with a symlink, it fails. To avoid upgrade conflicts, i add 2 tasks to remove the file if it's regular instead of a symlink. We could just delete it always before symlinking, but then we would generate unnecessary activity and "changed" noise in the output.

Tested with a running instance.
2022-03-28 18:39:35 +00:00
fadelkon
fe3e04af8f
Rename rate_limit with domain name space (#29)
This allows to provision one lemmy instance in a server where there are already other lemmy instances installed with this same nginx template.
Currently, nginx refuses to reload starting at the 2d instance installed, because lemmy_ratelimit is already defined in another site conf.
It also makes sense to just give each lemmy its own rate limit strategy instead of sharing a host-global one.
2022-03-28 14:21:11 +00:00
HorseJump
b1f58129ad
Removed ":ro" from volumes of the lemmy image (#28)
Could not edit site configuration with this there.
2022-03-28 10:40:00 +00:00
Nutomic
1acff80c49
pictrs 0.3.0-rc.7 (#27) 2022-03-22 18:35:55 +00:00
Dessalines
a15d4efa67
Upgrading pictrs. (#26) 2022-03-17 12:24:47 +00:00
Dessalines
f920e6b29d Merge branch 'main' of https://github.com/LemmyNet/lemmy-ansible 2022-03-15 17:51:54 -04:00
Dessalines
00bd7d3f35 Updating VERSION 2022-03-15 17:22:16 -04:00