Files
NextChair/legacy-nextjs/deploy/business-compose.yaml.template
T
Stefan Lazic 2ef3654841
CI / ci (push) Canceled after 0s
PHP Rebuild
Initial PHP rebuild of the app
2026-09-05 08:21:33 +01:00

36 lines
979 B
Plaintext

name: nextchair-${BUSINESS_SLUG}
# Generated by scripts/create-business.sh. Keep this file self-contained so
# Dockge can operate this business independently.
services:
nextchair-${BUSINESS_SLUG}:
image: ${NEXTCHAIR_IMAGE:-nextchair:latest}
container_name: nextchair-${BUSINESS_SLUG}
restart: unless-stopped
env_file:
- .env
volumes:
- nextchair-media-${BUSINESS_SLUG}:/app/storage/media
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/api/health', r => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"]
interval: 10s
timeout: 5s
retries: 10
start_period: 20s
networks:
- nextchair-proxy
- nextchair-db
volumes:
nextchair-media-${BUSINESS_SLUG}:
name: nextchair-media-${BUSINESS_SLUG}
networks:
nextchair-proxy:
name: nextchair-proxy
external: true
nextchair-db:
name: nextchair-db
external: true