This commit is contained in:
Julian Sutter 2024-12-21 20:51:50 -08:00
parent b3b8caad4d
commit 329af6f8c6
2 changed files with 44 additions and 1 deletions

View file

@ -3,7 +3,7 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(python3.withPackages(ps: with ps; [ pandas requests pip ])) (python3.withPackages(ps: with ps; [ pandas requests ]))
nodejs nodejs
rpi-imager rpi-imager
]; ];

43
servers/hugo.nix Normal file
View file

@ -0,0 +1,43 @@
services:
app:
image: klakegg/hugo:debian
hostname: www.symbiotrip.com
environment:
- PUID=1001
- PGID=1001
- TZ=America/Los_Angeles
command: server
volumes:
- /mnt/userdata/hugo:/src
ports:
- 1313:1313
restart: unless-stopped
labels:
com.centurylinklabs.watchtower.enable: "true"
remark42:
image: umputun/remark42:latest
hostname: "remark42.symbiotrip.com"
ports:
- "1314:8080"
environment:
- REMARK_URL=https://remark42.symbiotrip.com
- SECRET=remark42-symbiotrip
- DEBUG=true
- AUTH_GOOGLE_CID
- AUTH_GOOGLE_CSEC
- AUTH_GITHUB_CID
- AUTH_GITHUB_CSEC
- AUTH_FACEBOOK_CID
- AUTH_FACEBOOK_CSEC
- AUTH_DISQUS_CID
- AUTH_DISQUS_CSEC
# Enable it only for the initial comment import or for manual backups.
# Do not leave the server running with the ADMIN_PASSWD set if you don't have an intention
# to keep creating backups manually!
# - ADMIN_PASSWD=<your secret password>
volumes:
- /mnt/userdata/www/remark42/var:/srv/var
restart: unless-stopped
labels:
com.centurylinklabs.watchtower.enable: "true"