[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