Files
ttl.sh/docker-compose.yaml
2025-09-05 18:18:28 -04:00

75 lines
1.6 KiB
YAML

services:
registry:
image: us-east4-docker.pkg.dev/rgstry/ttl-sh-registry/registry:latest
build:
context: registry
dockerfile: Dockerfile
platforms:
- "linux/amd64"
container_name: ttlsh-registry
restart: always
pull_policy: always
env_file: ".env"
environment:
- PORT=5000
ports:
- "5000:5000"
- "5001:5001"
networks:
- ttlsh-network
hooks:
image: us-east4-docker.pkg.dev/rgstry/ttl-sh-hooks/hooks:latest
build:
context: hooks
dockerfile: Dockerfile.hooks
platforms:
- "linux/amd64"
container_name: ttlsh-hooks
restart: always
pull_policy: always
env_file: ".env"
environment:
- LOG_LEVEL=${LOG_LEVEL:-info}
- NODE_ENV=${NODE_ENV:-production}
- PORT=8000
ports:
- "8000:8000"
networks:
- ttlsh-network
reaper:
image: us-east4-docker.pkg.dev/rgstry/ttl-sh-reap/reaper:latest
build:
context: hooks
dockerfile: Dockerfile.reap
platforms:
- "linux/amd64"
container_name: ttlsh-reaper
restart: always
pull_policy: always
env_file: ".env"
environment:
- LOG_LEVEL=${LOG_LEVEL:-info}
- NODE_ENV=${NODE_ENV:-production}
networks:
- ttlsh-network
redis:
image: redis:7-alpine
container_name: ttlsh-redis
restart: always
pull_policy: always
env_file: ".env"
ports:
- "6379:6379"
networks:
- ttlsh-network
volumes:
- ./redis/data:/data
command: redis-server --requirepass ${REDIS_PASSWORD}
networks:
ttlsh-network:
driver: bridge