services: postgres: image: postgres:15 restart: unless-stopped environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=${DB_PASS} - POSTGRES_DATABASE=postgres volumes: - ${DATA_DIR}/database:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U postgres'] interval: 10s timeout: 5s retries: 5 zipline: image: ghcr.io/diced/zipline container_name: zipline-${DIFFUSION} ports: - ${DIFFUSION}:3000 restart: unless-stopped environment: - CORE_RETURN_HTTPS=false - CORE_SECRET=${KEY} - CORE_HOST=0.0.0.0 - CORE_PORT=3000 - CORE_DATABASE_URL=postgres://postgres:${DB_PASS}@postgres/postgres - CORE_LOGGER=true volumes: - ${DATA_DIR}/uploads:/zipline/uploads - ${DATA_DIR}/public:/zipline/public depends_on: - 'postgres'