redlib, safetwitch, searxng, tor
This commit is contained in:
parent
cb6f1c5629
commit
491ef252ac
11 changed files with 128 additions and 0 deletions
20
beeper/etc/containers/systemd/redlib/redlib.container
Normal file
20
beeper/etc/containers/systemd/redlib/redlib.container
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[Unit]
|
||||
Description=Redlib
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=quay.io/redlib/redlib:latest
|
||||
ContainerName=redlib
|
||||
EnvironmentFile=/var/containers/redlib/.env
|
||||
HealthCmd=wget --spider -q --tries=1 http://localhost:8080/settings
|
||||
HealthInterval=5m
|
||||
HealthTimeout=3s
|
||||
PublishPort=127.0.0.1:51617:8080
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=SafeTwitch Backend
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=codeberg.org/safetwitch/safetwitch-backend:latest
|
||||
ContainerName=safetwitch-backend
|
||||
Environment=PORT=7000
|
||||
Environment=URL=https://b.twitch.synth.download
|
||||
PublishPort=127.0.0.1:43072:7000
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
[Unit]
|
||||
Description=SafeTwitch Frontend
|
||||
After=network-online.target safetwitch-backend.service
|
||||
Wants=network-online.target
|
||||
Requires=safetwitch-backend.service
|
||||
|
||||
[Container]
|
||||
Image=codeberg.org/safetwitch/safetwitch:latest
|
||||
ContainerName=safetwitch-frontend
|
||||
Environment=SAFETWITCH_BACKEND_DOMAIN=b.twitch.synth.download
|
||||
Environment=SAFETWITCH_INSTANCE_DOMAIN=twitch.synth.download
|
||||
Environment=SAFETWITCH_HTTPS=true
|
||||
Environment=SAFETWITCH_DEFAULT_LOCALE=en
|
||||
Environment=SAFETWITCH_FALLBACK_LOCALE=en
|
||||
PublishPort=127.0.0.1:24682:8280
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
24
beeper/etc/containers/systemd/searxng/searxng-dfdb.container
Normal file
24
beeper/etc/containers/systemd/searxng/searxng-dfdb.container
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[Unit]
|
||||
Description=SearXNG Dragonfly DB
|
||||
|
||||
[Container]
|
||||
Image=docker.dragonflydb.io/dragonflydb/dragonfly
|
||||
ContainerName=searxng-dfdb
|
||||
Environment=DFLY_snapshot_cron="* * * * *"
|
||||
Environment=DFLY_version_check=false
|
||||
Environment=DFLY_default_lua_flags=allow-undeclared-keys
|
||||
Environment=DFLY_dbfilename=dump.rdb
|
||||
Environment=DFLY_df_snapshot_format=false
|
||||
Environment=DFLY_dir=/data
|
||||
HealthCmd=redis-cli ping
|
||||
HealthInterval=5s
|
||||
HealthRetries=20
|
||||
Network=searxng.network
|
||||
Volume=/var/containers/searxng/dragonfly:/data:z
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
20
beeper/etc/containers/systemd/searxng/searxng.container
Normal file
20
beeper/etc/containers/systemd/searxng/searxng.container
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[Unit]
|
||||
Description=SearXNG
|
||||
After=network-online.target searxng-dfdb.service
|
||||
Wants=network-online.target
|
||||
Requires=searxng-dfdb.service
|
||||
|
||||
[Container]
|
||||
Image=docker.io/searxng/searxng:latest
|
||||
ContainerName=searxng
|
||||
PublishPort=127.0.0.1:48898:8080
|
||||
Network=searxng.network
|
||||
Volume=/var/containers/searxng/searxng:/etc/searxng:Z
|
||||
Volume=searxng.volume:/var/cache/searxng
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
3
beeper/etc/containers/systemd/searxng/searxng.network
Normal file
3
beeper/etc/containers/systemd/searxng/searxng.network
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[Network]
|
||||
NetworkName=searxng
|
||||
IPv6=true
|
||||
2
beeper/etc/containers/systemd/searxng/searxng.volume
Normal file
2
beeper/etc/containers/systemd/searxng/searxng.volume
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[Volume]
|
||||
VolumeName=searxng
|
||||
19
beeper/etc/containers/systemd/tor/tor.container
Normal file
19
beeper/etc/containers/systemd/tor/tor.container
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=Tor Daemon
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/dockurr/tor
|
||||
ContainerName=tor
|
||||
AutoUpdate=registry
|
||||
Network=host
|
||||
Volume=/var/containers/tor/config:/etc/tor:ro,Z
|
||||
Volume=/var/containers/tor/data:/var/lib/tor:Z
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
0
beeper/var/containers/redlib/.gitkeep
Normal file
0
beeper/var/containers/redlib/.gitkeep
Normal file
0
beeper/var/containers/searxng/.gitkeep
Normal file
0
beeper/var/containers/searxng/.gitkeep
Normal file
0
beeper/var/containers/tor/.gitkeep
Normal file
0
beeper/var/containers/tor/.gitkeep
Normal file
Loading…
Add table
Add a link
Reference in a new issue