ott and stuff
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user