[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