version: '3.5' services: tubearchivist: container_name: tubearchivist image: bbilly1/tubearchivist ports: - 8124:8000 volumes: - /data/Media/YouTube:/youtube - /data/daemons/tubearchivist/cache:/cache environment: - ES_URL=http://archivist-es:9200 - REDIS_CON=redis://archivist-redis:6379 - TA_HOST=https://tube.mydomain.com http://127.0.0.1:8124 # Uncommen tthe next two to NOT use SSO: #- TA_USERNAME=not_needed #- TA_PASSWORD=not_needed # Comment the next three to use SSO: - TA_ENABLE_AUTH_PROXY=true - TA_AUTH_PROXY_USERNAME_HEADER=HTTP_REMOTE_USER - TA_AUTH_PROXY_LOGOUT_URL=https://login.mydomain.com/logout - ELASTIC_PASSWORD=<< create a random password >> - TZ=Europe/London # Uncomment to enable extra debug: #- DJANGO_DEBUG=True depends_on: - archivist-es - archivist-redis networks: - tubearchivist-net archivist-redis: image: redis container_name: archivist-redis restart: unless-stopped expose: - "6379" volumes: - /data/daemons/tubearchivist/redis:/data depends_on: - archivist-es networks: - tubearchivist-net archivist-es: image: bbilly1/tubearchivist-es container_name: archivist-es environment: - "ELASTIC_PASSWORD=<< copy same password above >>" - "ES_JAVA_OPTS=-Xms1g -Xmx1g" - "xpack.security.enabled=true" - "discovery.type=single-node" - "path.repo=/usr/share/elasticsearch/data/snapshot" ulimits: memlock: soft: -1 hard: -1 volumes: - /data/daemons/tubearchivist/es:/usr/share/elasticsearch/data expose: - "9200" networks: - tubearchivist-net networks: tubearchivist-net: dns_enabled: true