ott and stuff

This commit is contained in:
bee
2026-06-18 12:25:18 +02:00
parent fa1231d1f8
commit 6873ef44e4
12 changed files with 371 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
[Unit]
Description=OpenTogetherTube Server
Requires=ott-db.service ott-redis.service
After=ott-db.service ott-redis.service
[Container]
ContainerName=ott-server
Image=git.secretbee.buzz/bee/ott:latest
Network=ott.network
PublishPort=127.0.0.1:8080:8080
Volume=/home/ott/data/env:/app/env
Environment=PORT=8080
Environment=DOCKER=1
Environment=FFPROBE_PATH=/usr/bin/ffprobe
Environment=REDIS_HOST=ott-redis
Environment=REDIS_PORT=6379
Environment=DB_MODE=postgres
Environment=POSTGRES_HOST=ott-db
Environment=POSTGRES_PORT=5432
Environment=POSTGRES_DB=opentogethertube
Environment=POSTGRES_USER=opentogethertube
Environment=POSTGRES_PASSWORD={{ ott_db_password }}
[Service]
Restart=on-failure
[Install]
WantedBy=default.target