services: << service_name >>: image: quay.io/invidious/invidious:latest container_name: << service_name >> environment: - TZ=<< timezone >> volumes: - ./config.yml:/invidious/config/config.yml:ro ports: - "<< port >>:3000" depends_on: - << service_name >>-db restart: unless-stopped << service_name >>-db: image: postgres:16-alpine container_name: << service_name >>-db environment: - POSTGRES_DB=invidious - POSTGRES_USER=invidious - POSTGRES_PASSWORD=<< db_password >> volumes: - << appdata_dir >>/<< service_name >>-db:/var/lib/postgresql/data restart: unless-stopped