services: << service_name >>: image: bbilly1/tubearchivist:latest container_name: << service_name >> environment: - ES_URL=http://<< service_name >>-es:9200 - REDIS_CON=redis://<< service_name >>-redis:6379 - HOST_UID=<< puid >> - HOST_GID=<< pgid >> - TA_HOST=<< app_url >> - TA_USERNAME=<< admin_user >> - TA_PASSWORD=<< admin_password >> - ELASTIC_PASSWORD=<< db_password >> - TZ=<< timezone >> volumes: - << appdata_dir >>/<< service_name >>:/cache - << data_root >>:/data ports: - "<< port >>:8000" depends_on: - << service_name >>-es - << service_name >>-redis restart: unless-stopped << service_name >>-es: image: bbilly1/tubearchivist-es:latest container_name: << service_name >>-es environment: - ELASTIC_PASSWORD=<< db_password >> - discovery.type=single-node - xpack.security.enabled=true - path.repo=/usr/share/elasticsearch/data/snapshot volumes: - << appdata_dir >>/<< service_name >>-es:/usr/share/elasticsearch/data restart: unless-stopped << service_name >>-redis: image: valkey/valkey:8-alpine container_name: << service_name >>-redis command: valkey-server --save 60 1 volumes: - << appdata_dir >>/<< service_name >>-redis:/data restart: unless-stopped