Compare commits

..

No commits in common. "e8dc30712520b0e4319bcc05ae82127b6adde15a" and "939f1bdf2ae6d3cb76b7dd1d6567045d60216848" have entirely different histories.

3 changed files with 3 additions and 34 deletions

View file

@ -17,7 +17,6 @@ in {
( import ./services/cloud.nix inputs ) ( import ./services/cloud.nix inputs )
( import ./services/vaultwarden.nix inputs ) ( import ./services/vaultwarden.nix inputs )
( import ./services/matrix.nix inputs ) ( import ./services/matrix.nix inputs )
( import ./services/tor.nix inputs )
# ( import ./services/office.nix inputs ) # ( import ./services/office.nix inputs )
# ( import ./services/Sharkey inputs ) # ( import ./services/Sharkey inputs )
# ( import ./services/caddy.nix inputs ) # doesn't work # ( import ./services/caddy.nix inputs ) # doesn't work

View file

@ -33,7 +33,7 @@ services:
networks: networks:
- shonk - shonk
volumes: volumes:
- reddits:/data - ./redis:/data
healthcheck: healthcheck:
test: "redis-cli ping" test: "redis-cli ping"
interval: 5s interval: 5s
@ -41,7 +41,7 @@ services:
db: db:
restart: always restart: always
image: postgres:15 image: postgres:15-alpine
command: >- command: >-
-c max_connections=200 -c max_connections=200
-c shared_buffers=512MB -c shared_buffers=512MB
@ -61,19 +61,11 @@ services:
env_file: env_file:
- .config/docker.env - .config/docker.env
volumes: volumes:
# - ./db:/var/lib/postgresql/data - ./db:/var/lib/postgresql/data
- datagays:/var/lib/postgresql/data
healthcheck: healthcheck:
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB" test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
interval: 5s interval: 5s
retries: 20 retries: 20
debinyan:
image: debian:latest
volumes:
- ./db:/data/db_orig
- datagays:/data/db
- ./redis.bak:/data/redis_orig
- reddits:/data/redis
# meilisearch: # meilisearch:
# restart: always # restart: always
@ -89,8 +81,3 @@ services:
networks: networks:
shonk: shonk:
volumes:
datagays:
reddits:

View file

@ -1,17 +0,0 @@
inputs: { ... }: { # I probably don't need the inputs, but I'm adding them
# as an argument to be consistent with my other service modules
services.tor = {
enable = true; # fuck censorship, long live privacy and anonimity
relay = {
enable = true;
role = "relay"; # I don't want the police to show up at my door
};
settings = {
ORPort = 9001;
ControlPort = 9051;
Nickname = "graphite";
BandWidthRate = "100 MBytes";
Address = "tor.phite.ro";
};
};
}