nixos/servers/hugo.nix
Julian Sutter 329af6f8c6 dev
2024-12-21 20:51:50 -08:00

43 lines
1.2 KiB
Nix

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"