1 changed files with 57 additions and 0 deletions
@ -0,0 +1,57 @@ |
|||||
|
version: '3.3' |
||||
|
|
||||
|
services: |
||||
|
tubearchivist: |
||||
|
container_name: tubearchivist |
||||
|
restart: always |
||||
|
image: bbilly1/tubearchivist:v0.1.6 |
||||
|
ports: |
||||
|
- 8000:8000 |
||||
|
volumes: |
||||
|
- media:/youtube |
||||
|
- cache:/cache |
||||
|
environment: |
||||
|
- ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port |
||||
|
- REDIS_HOST=archivist-redis # don't add protocol |
||||
|
- HOST_UID=1000 |
||||
|
- HOST_GID=1000 |
||||
|
- TA_USERNAME=tubearchivist # your initial TA credentials |
||||
|
- TA_PASSWORD=verysecret # your initial TA credentials |
||||
|
- ELASTIC_PASSWORD=verysecret # set password for Elasticsearch |
||||
|
- TZ=America/New_York # set your time zone |
||||
|
depends_on: |
||||
|
- archivist-es |
||||
|
- archivist-redis |
||||
|
archivist-redis: |
||||
|
image: redislabs/rejson:latest # for arm64 use bbilly1/rejson |
||||
|
container_name: archivist-redis |
||||
|
restart: always |
||||
|
expose: |
||||
|
- "6379" |
||||
|
volumes: |
||||
|
- redis:/data |
||||
|
depends_on: |
||||
|
- archivist-es |
||||
|
archivist-es: |
||||
|
image: bbilly1/tubearchivist-es # only for amd64, or use official es 7.17.3 |
||||
|
container_name: archivist-es |
||||
|
restart: always |
||||
|
environment: |
||||
|
- "xpack.security.enabled=true" |
||||
|
- "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password |
||||
|
- "discovery.type=single-node" |
||||
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" |
||||
|
ulimits: |
||||
|
memlock: |
||||
|
soft: -1 |
||||
|
hard: -1 |
||||
|
volumes: |
||||
|
- es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme |
||||
|
expose: |
||||
|
- "9200" |
||||
|
|
||||
|
volumes: |
||||
|
media: |
||||
|
cache: |
||||
|
redis: |
||||
|
es: |
||||
Loading…
Reference in new issue