No results
2
Examples
Anthony Wang edited this page 2024-11-06 19:28:24 +00:00
Table of Contents
Here are some configs for actual sites hosted on the exozyme server.
PixivFE
~/.config/systemd/user/pixivfe.service
[Unit]
Description=pixivfe
[Service]
WorkingDirectory=/home/vnpower/services/PixivFE/
ExecStart=/home/vnpower/services/PixivFE/pixivfe
Environment=PIXIVFE_TOKEN=deadbeef1234
Environment=PIXIVFE_IMAGEPROXY=https://pximg.exozy.me
Environment=PIXIVFE_PORT=8282
Environment=PIXIVFE_PROXY_CHECK_INTERVAL=0
Environment=PIXIVFE_REQUESTLIMIT=7
Environment=PIXIVFE_REPO_URL=https://git.exozy.me/vnpower/PixivFE
[Install]
WantedBy=default.target
~/.config/systemd/user/socat.service
[Unit]
Description=pixivfe socat
[Service]
ExecStart=socat UNIX-LISTEN:/srv/http/pixivfe,unlink-early,fork,mode=660 TCP4:localhost:8282
[Install]
WantedBy=default.target
xtex's website
~/.config/containers/systemd/xtex-home.container
[Unit]
Description=xtex's Home container
[Container]
Image=localhost/home
Environment=UDS_DIR=exopages
Environment=UDS_SUFFIX=
Environment=BLOG_DIR=exopages/xtex
Mount=type=bind,source=/home/xtex/home,destination=/srv/run
Mount=type=bind,source=/srv/http,destination=/srv/exopages
Network=host
[Service]
Restart=on-failure
TimeoutStartSec=900
RestartSec=10
[Install]
WantedBy=default.target
Navidrome
~/navidrome/docker-compose.yml
version: "3"
services:
navidrome:
image: docker.io/deluan/navidrome:latest
user: 1070:1070 # should be owner of volumes
ports:
- "4533:4533"
restart: always
environment:
# Optional: put your config options customization here. Examples:
ND_SCANSCHEDULE: 1h
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_ENABLESHARING: true
ND_BASEURL: "https://rave.exozy.me"
ND_CONFIGFILE: "/data/navidrome.toml"
volumes:
- "/home/vnpower/MUsic/:/music:ro"
- "/home/vnpower/Music/:/music/merge2:ro"
- "/home/vnpower/Downloads/:/music/merge:ro"
- "/home/vnpower/navidrome/data/:/data"
tcptosocket:
image: docker.io/alpine/socat:latest
command: "UNIX-LISTEN:/mnt/rave,fork,mode=660,unlink-early TCP4:navidrome:4533"
volumes:
- /srv/http:/mnt
restart: always
~/.config/systemd/user/rave.service
[Unit]
Description=pixivfe
[Service]
WorkingDirectory=/home/vnpower/navidrome/
ExecStart=podman-compose up
ExecStop=podman-compose down
[Install]
WantedBy=default.target