support screencasting to dynamically created service via nginx (k8s only thus far) add crawl /watch endpoint to enable watching, creates service if doesn't exist add crawl /running endpoint to check if crawl is running nginx auth check in place, but not yet enabled add k8s nginx.conf add missing chart files file reorg: move docker config to configs/ k8s: add readiness check for nginx and api containers for smoother reloading ensure service deleted along with job todo: update dockerman with screencast support
73 lines
1.1 KiB
YAML
73 lines
1.1 KiB
YAML
version: '3.5'
|
|
|
|
services:
|
|
backend:
|
|
build: ./backend
|
|
image: webrecorder/browsertrix-api
|
|
ports:
|
|
- 8000:8000
|
|
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
env_file:
|
|
- ./configs/config.env
|
|
|
|
depends_on:
|
|
- minio
|
|
- mongo
|
|
|
|
redis:
|
|
image: redis
|
|
command: redis-server --appendonly yes
|
|
|
|
ports:
|
|
- 6379:6379
|
|
|
|
volumes:
|
|
- btrix-redis-data:/data
|
|
|
|
mongo:
|
|
image: mongo
|
|
volumes:
|
|
- btrix-mongo-data:/data/db
|
|
|
|
env_file:
|
|
- ./configs/config.env
|
|
|
|
minio:
|
|
image: minio/minio
|
|
command: server /data --console-address :9001
|
|
ports:
|
|
- 9000:9000
|
|
- 9001:9001
|
|
|
|
volumes:
|
|
- btrix-minio-data:/data
|
|
|
|
env_file:
|
|
- ./configs/config.env
|
|
|
|
init_minio_bucket:
|
|
image: minio/mc
|
|
entrypoint: "/bin/sh"
|
|
command: ['-c', 'mc mb local/test-bucket; mc policy set public local/test-bucket' ]
|
|
|
|
env_file:
|
|
- ./configs/config.env
|
|
|
|
depends_on:
|
|
- minio
|
|
|
|
|
|
volumes:
|
|
btrix-redis-data:
|
|
btrix-mongo-data:
|
|
btrix-minio-data:
|
|
|
|
|
|
networks:
|
|
default:
|
|
name: btrix-cloud-net
|
|
|