services:
relay:
image: ${BUZZ_IMAGE}
env_file: !override
- ../local/.env
environment:
BUZZ_GIT_PACK_CACHE_PATH: /data/git/.pack-cache
ports: !override
- "127.0.0.1:5005:3000"
depends_on:
git-volume-init:
condition: service_completed_successfully
git-volume-init:
image: ${BUZZ_IMAGE}
user: "0:0"
entrypoint:
- /bin/sh
- -ec
command:
- |
mkdir -p /data/git/.pack-cache
chown -R 1000:1000 /data/git
volumes:
- buzz-git-data:/data/git
network_mode: none
restart: "no"