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
+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=OpenTogetherTube Postgres
[Container]
ContainerName=ott-db
Image=docker.io/library/postgres:15-bullseye
Network=ott.network
Volume=/home/ott/data/postgres:/var/lib/postgresql/data
Environment=POSTGRES_USER=opentogethertube
Environment=POSTGRES_PASSWORD={{ ott_db_password }}
Environment=POSTGRES_DB=opentogethertube
HealthCmd=pg_isready -U opentogethertube
[Service]
Restart=on-failure
[Install]
WantedBy=default.target